{"_id":"param","_rev":"31-66c92024e5381fe0b68b5aeba60de9af","name":"param","description":"param is a tiny module to read config parameters","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"param","version":"0.1.0","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"param@0.1.0","dist":{"shasum":"f63a5788392056708505045fe8f9e7a8207a71a8","tarball":"https://registry.npmjs.org/param/-/param-0.1.0.tgz","integrity":"sha512-vJuAC4xmCFp7PAQ/nFrA9RwY+iiLDbx9vYVCl9dFs3HEPD4lQXunZyWhDszBIYrErjr7eqRq5lBloirhgR+i6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUtgfyLbcfZwZvAMS+BWrUKvL6Rf3DvR/Nm4vpeOAwIQIhAO93CI8wO3J5DyB65t/bBUOD3kLTTMnhnU5s5F+SUqQm"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.1.1":{"name":"param","version":"0.1.1","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"_id":"param@0.1.1","dist":{"shasum":"2f7ef75d95325e22a0454603f2d4459f37d3be38","tarball":"https://registry.npmjs.org/param/-/param-0.1.1.tgz","integrity":"sha512-h5Vo5hau609Lyls7LOFZS8XSckXFRQaVy/mUOzqvKdUOuWTrSGta+c1160z2MHkrYq1AA3kd1Jr/FatWehoGug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFuSC2KLZVjAn9GFRkHzGUuk2KJ/3Mf7Adugb1J0k8SuAiBDyWr2jpTaWtPTwS3x4T4RPhp52szmhoVBueb11+Ksnw=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.2.0":{"name":"param","version":"0.2.0","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"find-module":"~0.2.0"},"_id":"param@0.2.0","dist":{"shasum":"6344c93f3fd957b6d3442601d72a8ae8033140db","tarball":"https://registry.npmjs.org/param/-/param-0.2.0.tgz","integrity":"sha512-wTO54QrWSRuTfOJmh9LL/YIss5qGYdmvMj5ASR3YNfSolE/39VtOSzRWhIlvr3YpclzawJMz2RogGWKwlBOT2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU+0VUkPtGVr7yFOhz9X3r3J9Ys5Dt2rTAs79TfDVi5AIgFve3Hos9bdyYQoNWeIxpy2myLej7ulxwLA69+btUre8="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{}},"0.2.1":{"name":"param","version":"0.2.1","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"bugs":{"url":"https://github.com/mafintosh/param/issues"},"_id":"param@0.2.1","dist":{"shasum":"e48824ee563af8930a9e356620c382d357c2d213","tarball":"https://registry.npmjs.org/param/-/param-0.2.1.tgz","integrity":"sha512-t/pCFg2YU796eKdx88qXt/vv0TRF0SzAgiH5hrlIJrxDdcJfDCQ9nPfeGfpUPrNvKk7brrUV1UAY8i/egD27bA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErFgBRfHOJr29KG7jzNmnt61UrGCOrOaIbajaeUeSzoAiA354xp+h9WPDg+T6MjPrPRiJ6omRos7Z9qKG14K/DxyA=="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.3.0":{"name":"param","version":"0.3.0","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"bugs":{"url":"https://github.com/mafintosh/param/issues"},"_id":"param@0.3.0","dist":{"shasum":"770ad4a390a2adda75a7c5923b3bf044e848a001","tarball":"https://registry.npmjs.org/param/-/param-0.3.0.tgz","integrity":"sha512-1otJDmgXq5sPXGgs5Odr7HsGVojHd08REnxwbySBuVJGM9ErqvGPQbco7PfXiEjY8pq5Y6hG3XWo13ovzK3yew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLGVGXS16xB/K/d/o+WUbhbBfyjMTZPXKIuZ0U3dBAKQIgPTAsYImPmHWgVIfsYHebT3FVArR/ZBHSlJ3S6gj4Ucs="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.3.1":{"name":"param","version":"0.3.1","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"bugs":{"url":"https://github.com/mafintosh/param/issues"},"_id":"param@0.3.1","dist":{"shasum":"f9ae98fb7434c89b709186a691cba0a8c324ae21","tarball":"https://registry.npmjs.org/param/-/param-0.3.1.tgz","integrity":"sha512-QB/oVhOWxkTvb9dBYfZkuIYD9nnA382euTqwXRzl+2J0ZPWq7InCIaEyZU3s4Uxo0TZRGf8ALQ4HQEbfvGGljg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJG5hLPLr8DQO17AtWQWLMUYwSiN8CA/YTsVvW0aEc7gIgTiSi6uSHXIca8fzQdU5LHLlK4dbc2waCqtMCCHAatno="}]},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"0.3.2":{"name":"param","version":"0.3.2","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"bugs":{"url":"https://github.com/mafintosh/param/issues"},"homepage":"https://github.com/mafintosh/param","_id":"param@0.3.2","dist":{"shasum":"e2856e157d5f47a234cbba0b2133d930c422ed13","tarball":"https://registry.npmjs.org/param/-/param-0.3.2.tgz","integrity":"sha512-n017DAcxSuL13aiCva5XrwB/j4EM/tY8zO4u6gjBib2tc7VMlGuVqYDpI2hqaAtuKrN8rIu2XNt86yK47RZVVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcHTNE3MFThclOXDWlYO+aYY7+9VOd6oV4zJaB2YeEIAiA1jUGJh0uOg76mviaBHnmDdcVboS7H+m5aM5S6jgTwqQ=="}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}]},"1.0.0":{"name":"param","version":"1.0.0","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"gitHead":"5acf1906e2092097b3ee7a857ce96996287dd9f2","bugs":{"url":"https://github.com/mafintosh/param/issues"},"homepage":"https://github.com/mafintosh/param","_id":"param@1.0.0","scripts":{},"_shasum":"bd58499fe2e214324ed28ad88ae55e33f4cf1927","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"bd58499fe2e214324ed28ad88ae55e33f4cf1927","tarball":"https://registry.npmjs.org/param/-/param-1.0.0.tgz","integrity":"sha512-Tr53jhzIJ+L0Ir179YxtyWSuJPn7ucvIHj9fqYOgma2doqNQRIcjDEmgyKbifAG6HzElbFWHI2GzRGVhvxH5Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfPQb6P+ABfs5ySDJFeA1+u3FBYzyiwugeU8pSM27f4AiEA9FOVb016mWuEdBjz5E5xRgfR+l72ry+A+HtB5K9YoF8="}]}},"1.0.1":{"name":"param","version":"1.0.1","repository":{"type":"git","url":"git://github.com/mafintosh/param"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"gitHead":"bd2aa5b4cfd776470cc19f713ba821a443c9a884","bugs":{"url":"https://github.com/mafintosh/param/issues"},"homepage":"https://github.com/mafintosh/param","_id":"param@1.0.1","scripts":{},"_shasum":"c8c42ae36c1b3a71dd9a903c294ca2a532ddff6a","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"dist":{"shasum":"c8c42ae36c1b3a71dd9a903c294ca2a532ddff6a","tarball":"https://registry.npmjs.org/param/-/param-1.0.1.tgz","integrity":"sha512-tEZ/Pmo46PmBtubYcCRZF+570oSGf1d//DcNmq4I+qyRAQ0HHUY0qeN7VupOTxVzXgqRUqs+AHJn6Q1L7VVuTw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyltMwGQ40ZYAgEt0ldsphcY13OUX7840tE87WV+ryJgIhAK3w0+VWpPonUdX6v4owRDL8pN0nGXLVVSUAmn3o8pCo"}]}},"1.1.0":{"name":"param","version":"1.1.0","repository":{"type":"git","url":"git://github.com/mafintosh/param.git"},"description":"param is a tiny module to read config parameters","keywords":["config","command-line","parameters"],"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"dependencies":{"resolve":"~0.5.0"},"gitHead":"244e3ed04addcc787a976659d8c977ead8b2cdf7","bugs":{"url":"https://github.com/mafintosh/param/issues"},"homepage":"https://github.com/mafintosh/param#readme","_id":"param@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"integrity":"sha512-ghXjrEckVCsBEgWnBL7v4uSzyXPd4ZiD81Z7vcJ2YX6PUOR0FziP5tq7PiaOyxWRQ841vnh+rhGM949GMm8PtQ==","shasum":"65969afd229af149a5c1438cca773659e8960116","tarball":"https://registry.npmjs.org/param/-/param-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDj+CSgKd9XuEOYquqvXF+qq17s4rl9hDTh9lBO2uijNQIgepO4BxjOhoi548+/w+b7G9Ot41Y8LcZmMq3cP+Vc5Hs="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/param-1.1.0.tgz_1504269877085_0.712016906356439"}}},"readme":"# param\n\nA tiny module to read config parameters for your node application.\nIt's avaiable through npm:\n\n\tnpm install param\n\n## what?\n\nParam exposes a single function that finds a config parameter\n\n``` js\n// example.js\nvar param = require('param');\nvar port = param('app.port');\n\nconsole.log(port);\n```\n\nThe above example tells param to find the parameter `app.port`.\nIt does so by first looking at the command line arguments\n\n\tnode example.js --app.port 8080 # prints 8080\n\nIf present param will simply return that value.\nOtherwise param will look for a configuration file specified by `--config [filename]` or your `NODE_ENV` env var.\nIf `NODE_ENV=development` it will look for a config file called `config/development.json` or `config/development.js`.\nIt will start looking for the config file in `.` If it doesn't exist it will try in `..` until it reaches `/`.\n\n``` js\n{\n\t\"app\": {\n\t\t\"port\": 8888\n\t},\n\t\"certificate\": \"{./certificate.file}\",\n\t\"apikey\": \"{$API_KEY}\"\n}\n```\n\n`{$API_KEY}` reads `API_KEY` from the environment. Equivalent to `process.env.API_KEY`.\n\n`{./certificate.file}` reads the file called `certificate.file`.\n\nRunning the example again with the above file saved as `config/development.json`\n\n\tnode example.js # prints 8888\n\nHappy configuring!\n\n## License\n\nMIT\n","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-23T09:50:43.710Z","created":"2012-09-20T21:06:25.566Z","0.1.0":"2012-09-20T21:06:28.469Z","0.1.1":"2012-09-20T21:46:05.689Z","0.2.0":"2013-02-09T15:18:12.668Z","0.2.1":"2013-09-16T21:29:24.893Z","0.3.0":"2013-09-16T23:13:45.087Z","0.3.1":"2013-09-17T07:39:02.101Z","0.3.2":"2014-02-19T15:11:24.848Z","1.0.0":"2014-07-28T15:32:20.699Z","1.0.1":"2014-07-28T15:58:57.252Z","1.1.0":"2017-09-01T12:44:38.470Z"},"author":{"name":"Mathias Buus Madsen","email":"mathiasbuus@gmail.com"},"repository":{"type":"git","url":"git://github.com/mafintosh/param.git"},"readmeFilename":"readme.md","homepage":"https://github.com/mafintosh/param#readme","keywords":["config","command-line","parameters"],"bugs":{"url":"https://github.com/mafintosh/param/issues"}}