@zkochan/pnpm
Version:
Fast, disk space efficient package manager
118 lines (117 loc) • 3.93 kB
JSON
{
"_args": [
[
{
"raw": "read-ini-file@1.0.0",
"scope": null,
"escapedName": "read-ini-file",
"name": "read-ini-file",
"rawSpec": "1.0.0",
"spec": "1.0.0",
"type": "version"
},
"/home/zkochan/src/pnpm/packages/pnpm"
]
],
"_from": "read-ini-file@1.0.0",
"_id": "read-ini-file@1.0.0",
"_inCache": true,
"_location": "/read-ini-file",
"_nodeVersion": "6.9.1",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/read-ini-file-1.0.0.tgz_1492367209530_0.8161092551890761"
},
"_npmUser": {
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
},
"_npmVersion": "3.10.9",
"_phantomChildren": {},
"_requested": {
"raw": "read-ini-file@1.0.0",
"scope": null,
"escapedName": "read-ini-file",
"name": "read-ini-file",
"rawSpec": "1.0.0",
"spec": "1.0.0",
"type": "version"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/read-ini-file/-/read-ini-file-1.0.0.tgz",
"_shasum": "07ddacfdb9c599e49540d08c7fedf6a3a21238f0",
"_shrinkwrap": null,
"_spec": "read-ini-file@1.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm",
"author": {
"name": "Zoltan Kochan",
"email": "zoltankochan@gmail.com",
"url": "https://www.kochan.io"
},
"bugs": {
"url": "https://github.com/zkochan/read-ini-file/issues"
},
"dependencies": {
"graceful-fs": "^4.1.11",
"ini": "^1.3.4",
"pify": "^2.3.0",
"strip-bom": "^3.0.0"
},
"description": "Read and parse an ini file",
"devDependencies": {
"mos": "^2.0.0-alpha.3",
"mos-plugin-readme": "^1.0.4",
"standard": "^10.0.2",
"tape": "^4.6.3"
},
"directories": {},
"dist": {
"shasum": "07ddacfdb9c599e49540d08c7fedf6a3a21238f0",
"tarball": "https://registry.npmjs.org/read-ini-file/-/read-ini-file-1.0.0.tgz"
},
"files": [
"index.js"
],
"gitHead": "e48e262fd4b2b5d38ac4d097e1401cd4f85a0977",
"homepage": "https://github.com/zkochan/read-ini-file#readme",
"keywords": [
"read",
"ini",
"parse",
"file",
"fs",
"graceful",
"load"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "zkochan",
"email": "zoltan.kochan@gmail.com"
}
],
"mos": {
"plugins": [
"readme"
],
"installation": {
"useShortAlias": true
}
},
"name": "read-ini-file",
"optionalDependencies": {},
"readme": "# read-ini-file\n\n> Read and parse an ini file\n\n<!--@shields('npm', 'travis')-->\n[](https://www.npmjs.com/package/read-ini-file) [](https://travis-ci.org/zkochan/read-ini-file)\n<!--/@-->\n\n## Installation\n\n```sh\nnpm i -S read-ini-file\n```\n\n## Usage\n\n<!--@example('./example/index.js')-->\n```js\n'use strict'\nconst loadIniFile = require('read-ini-file')\nconst path = require('path')\n\nconst fixture = path.join(__dirname, 'currencies.ini')\nconst currencies = loadIniFile.sync(fixture)\nconsole.log(currencies)\n//> { USA: 'USD', Ukraine: 'UAH', Hungary: 'HUF' }\n```\n<!--/@-->\n\n## API\n\n### `loadIniFile(filepath)`\n\nReturns a promise for the parsed ini.\n\n### `loadIniFile.sync(filepath)`\n\nReturns the parsed ini.\n\n## Related\n\n- [write-ini-file](https://github.com/zkochan/write-ini-file) - Stringify and write ini to a file atomically\n- [ini](https://github.com/npm/ini) - An ini parser/serializer in JavaScript\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/zkochan/read-ini-file.git"
},
"scripts": {
"md": "mos",
"test": "mos t && standard && tape test"
},
"version": "1.0.0"
}