UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

94 lines (93 loc) 2.91 kB
{ "_args": [ [ { "raw": "load-yaml-file@0.1.0", "scope": null, "escapedName": "load-yaml-file", "name": "load-yaml-file", "rawSpec": "0.1.0", "spec": "0.1.0", "type": "version" }, "/home/zkochan/src/pnpm/packages/pnpm" ] ], "_from": "load-yaml-file@0.1.0", "_id": "load-yaml-file@0.1.0", "_inCache": true, "_location": "/load-yaml-file", "_nodeVersion": "6.3.1", "_npmOperationalInternal": { "host": "packages-16-east.internal.npmjs.com", "tmp": "tmp/load-yaml-file-0.1.0.tgz_1470859393923_0.40118847601115704" }, "_npmUser": { "name": "linusu", "email": "linus@folkdatorn.se" }, "_npmVersion": "3.10.3", "_phantomChildren": {}, "_requested": { "raw": "load-yaml-file@0.1.0", "scope": null, "escapedName": "load-yaml-file", "name": "load-yaml-file", "rawSpec": "0.1.0", "spec": "0.1.0", "type": "version" }, "_requiredBy": [ "/", "/@pnpm/modules-yaml", "/pnpm-shrinkwrap" ], "_resolved": "https://registry.npmjs.org/load-yaml-file/-/load-yaml-file-0.1.0.tgz", "_shasum": "f680066e691b3eeb45017672e4a3956af5b83b89", "_shrinkwrap": null, "_spec": "load-yaml-file@0.1.0", "_where": "/home/zkochan/src/pnpm/packages/pnpm", "bugs": { "url": "https://github.com/LinusU/load-yaml-file/issues" }, "dependencies": { "graceful-fs": "^4.1.5", "js-yaml": "^3.6.1", "pify": "^2.3.0", "strip-bom": "^3.0.0" }, "description": "Read and parse a YAML file.", "devDependencies": { "mocha": "^3.0.2", "standard": "^7.1.2" }, "directories": {}, "dist": { "shasum": "f680066e691b3eeb45017672e4a3956af5b83b89", "tarball": "https://registry.npmjs.org/load-yaml-file/-/load-yaml-file-0.1.0.tgz" }, "engines": { "node": ">=4" }, "gitHead": "47c35e0aece658ec2c01f2d950037208295769ff", "homepage": "https://github.com/LinusU/load-yaml-file#readme", "license": "MIT", "maintainers": [ { "name": "linusu", "email": "linus@folkdatorn.se" } ], "name": "load-yaml-file", "optionalDependencies": {}, "readme": "# Load YAML file\n\nRead and parse a YAML file.\n\n## Installation\n\n```sh\nnpm install --save load-yaml-file\n```\n\n## Usage\n\n```js\nconst loadYamlFile = require('load-yaml-file')\n\nloadYamlFile('foo.yml').then(data => {\n console.log(data)\n //=> {foo: true}\n})\n```\n\n## API\n\n### loadYamlFile(filepath)\n\nReturns a promise for the parsed YAML.\n\n### loadYamlFile.sync(filepath)\n\nReturns the parsed YAML.\n\n## Related\n\n- [load-json-file](https://github.com/sindresorhus/load-json-file) - Read and parse a JSON file\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/LinusU/load-yaml-file.git" }, "scripts": { "test": "standard && mocha" }, "version": "0.1.0" }