UNPKG

pnpm

Version:

Fast, disk space efficient package manager

126 lines (125 loc) 4.94 kB
{ "_args": [ [ { "raw": "read-ini-file@2.0.0", "scope": null, "escapedName": "read-ini-file", "name": "read-ini-file", "rawSpec": "2.0.0", "spec": "2.0.0", "type": "version" }, "/home/zoltan/src/pnpm/pnpm/packages/pnpm" ] ], "_from": "read-ini-file@2.0.0", "_hasShrinkwrap": false, "_id": "read-ini-file@2.0.0", "_location": "/read-ini-file", "_nodeVersion": "10.12.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/read-ini-file_2.0.0_1543480289465_0.5060943081670035" }, "_npmUser": { "name": "zkochan", "email": "z@kochan.io" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "read-ini-file@2.0.0", "scope": null, "escapedName": "read-ini-file", "name": "read-ini-file", "rawSpec": "2.0.0", "spec": "2.0.0", "type": "version" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/read-ini-file/-/read-ini-file-2.0.0.tgz", "_shasum": "dba5dc56cc9c6c41256fc355f4c814b5af1d69ef", "_shrinkwrap": null, "_spec": "read-ini-file@2.0.0", "_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm", "author": { "name": "Zoltan Kochan", "email": "zoltankochan@gmail.com", "url": "https://www.kochan.io" }, "bugs": { "url": "https://github.com/zkochan/packages/issues" }, "dependencies": { "graceful-fs": "^4.1.11", "ini": "^1.3.4", "pify": "^4.0.1", "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", "package-preview": "^1.0.5", "standard": "^12.0.1", "tape": "^4.6.3" }, "directories": {}, "dist": { "integrity": "sha512-3wEdhvVbPLMG38StE59Nt2dXngwuySh/daITnBz7WxEj8XhE7jIlCT9vLQ9/8SRDYwQYhmvXaAZuI7tzHQoBcQ==", "shasum": "dba5dc56cc9c6c41256fc355f4c814b5af1d69ef", "tarball": "https://registry.npmjs.org/read-ini-file/-/read-ini-file-2.0.0.tgz", "fileCount": 4, "unpackedSize": 3582, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/6PiCRA9TVsSAnZWagAALekQAJ4kCAZQ3T8LmiGsZ/ce\nbb1Aa1pmN2BVeAPqpNzIlLh02YgN0qjKZRKE7V+PgKGU9fTD2OK7hwM831nB\neIO/loevbYjyyLI65soQ3nL7TRI0GPkg4WH3EAnjFap2E9qvRkOWwxFfi53d\n60AZ+ezLPhK9D3fAPq2FCCAi69UijIftRnyNH/yanhN/JU4iWROiyB1J9GjQ\nS8UlUimzxt6tU8NftvIiA7nRZhZi7S8xjUAEYxqLQHIkYNXGFUvNO3UJxppe\nJ8Il/yqFNCsb3BUf1yh1jJb1vsqleb/XrruKeoCEONXqXxlTSoHsqtpukzWO\ns6YYYjNUwTXcdB9svVBoMp2efBQ8FtXIIBn9+1uNZV6V+D0Oj1lTzZdm00c+\n5OChVXCwNlmrlsLkbtQJY39qlkUMEmve2ezL2pyv5cd47YkS4qzJuXV2iYPp\ncIss2oBX+Vvzbz+gvq6vPFAmmK/VN07IQQpUCn2GAq/RyL/95lQReUawg9Az\npL4APZDDL2Wp8DHUYesQ+5sN5eW0WqJoHwG8Lg+KSAseoZx5/TJLS7Jjw6zM\naRa/8Eb25KYmK2TW3wb2udSd3mLEiPZ/Qx131rBXWn8F2oioqoCRwtXLTnLC\nISR6H4tAXqHIfYdJ0q8pmZyFVcS1qhK5JzojP/DzyXAD0kxv9rLAhz+Fr++8\nmyVF\r\n=ikqz\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">=6" }, "files": [ "index.js" ], "homepage": "https://github.com/zkochan/packages/tree/master/read-ini-file#readme#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')-->\n[![npm version](https://img.shields.io/npm/v/read-ini-file.svg)](https://www.npmjs.com/package/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": "https://github.com/zkochan/packages/tree/master/read-ini-file" }, "scripts": { "md": "mos", "test": "standard && preview && tape test", "test-readme": "mos t" }, "version": "2.0.0" }