UNPKG

node-read-yaml

Version:

Read and parse a YAML file. A wrapper of js-yaml read file directly.

72 lines (71 loc) 1.62 kB
{ "name": "node-read-yaml", "version": "1.0.1", "description": "Read and parse a YAML file. A wrapper of js-yaml read file directly.", "main": "index.js", "scripts": { "lint": "prettier --write . && xo", "lint:fix": "prettier --write . && xo --fix", "test": "mocha test.js", "test:cov": "nyc npm run test", "test:loop": "while npm test --silent; do :; done", "preinstall": "unlink-self 2>&1 | echo unlink-self" }, "dependencies": { "fs-extra": "^8.1.0", "js-yaml": "^3.13.1" }, "devDependencies": { "chai": "^4.2.0", "mocha": "^8.0.1", "nyc": "^15.1.0", "node-read-yaml": "file:.", "prettier": "latest", "unlink-self": "latest", "xo": "latest" }, "keywords": [ "node", "read", "yaml", "file", "yml", "parser", "serializer" ], "files": [ "index.js", "LICENSE", "README.md" ], "engines": { "node": ">=8.6.0" }, "author": "dailyrandomphoto <dailyrandomphoto@gmail.com> (https://www.dailyrandomphoto.com/)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/dailyrandomphoto/node-read-yaml.git" }, "bugs": { "url": "https://github.com/dailyrandomphoto/node-read-yaml/issues" }, "homepage": "https://github.com/dailyrandomphoto/node-read-yaml#readme", "xo": { "space": 2, "prettier": true, "rules": { "promise/prefer-await-to-then": 0, "capitalized-comments": 0 }, "overrides": [ { "files": "test.js", "envs": [ "node", "mocha" ] } ] } }