在package.json中,这些带有前缀下划线的属性是什么?

Rod*_*son 5 javascript node.js npm reactjs package.json

我在package.json中发现这些属性以下划线为前缀。它们是用来干什么的?为什么在属性上加下划线?

  "_from": "react-scripts@0.9.3",
  "_id": "react-scripts@0.9.3",
  "_inCache": true,
  "_location": "/react-scripts",
  "_nodeVersion": "6.0.0",
  "_npmOperationalInternal": {
    "host": "packages-18-east.internal.npmjs.com",
    "tmp": "tmp/react-scripts-0.9.3.tgz_1488303928068_0.6415497597772628"
  },
  "_npmUser": {
    "name": "gaearon",
    "email": "dan.abramov@gmail.com"
  },
Run Code Online (Sandbox Code Playgroud)

Dam*_*oux 6

这些是为包注册表保留的元数据。所有以 _ 或 $ 开头的属性都保留给包注册中心自行决定使用。wiki 常见的“保留属性”部分对此进行了解释。