{ "_args": [ [ { "raw": "dedent@^0.6.0", "scope": null, "escapedName": "dedent", "name": "dedent", "rawSpec": "^0.6.0", "spec": ">=0.6.0 <0.7.0", "type": "range" }, "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native-safe-module" ] ], "_from": "dedent@>=0.6.0 <0.7.0", "_id": "dedent@0.6.0", "_inCache": true, "_location": "/dedent", "_nodeVersion": "5.0.0", "_npmUser": { "name": "dmnd", "email": "dmnd@desmondbrand.com" }, "_npmVersion": "3.3.6", "_phantomChildren": {}, "_requested": { "raw": "dedent@^0.6.0", "scope": null, "escapedName": "dedent", "name": "dedent", "rawSpec": "^0.6.0", "spec": ">=0.6.0 <0.7.0", "type": "range" }, "_requiredBy": [ "/react-native-safe-module" ], "_resolved": "https://registry.npmjs.org/dedent/-/dedent-0.6.0.tgz", "_shasum": "0e6da8f0ce52838ef5cec5c8f9396b0c1b64a3cb", "_shrinkwrap": null, "_spec": "dedent@^0.6.0", "_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/react-native-safe-module", "author": { "name": "Desmond Brand", "email": "dmnd@desmondbrand.com", "url": "http://desmondbrand.com" }, "bugs": { "url": "https://github.com/dmnd/dedent/issues" }, "dependencies": {}, "description": "An ES6 string tag that strips indentation from multi-line strings", "devDependencies": { "babel-jest": "^5.0.1", "eslint": "^1.9.0", "gulp": "^3.8.10", "gulp-babel": "^5.1.0", "jest-cli": "^0.7.1" }, "directories": {}, "dist": { "shasum": "0e6da8f0ce52838ef5cec5c8f9396b0c1b64a3cb", "tarball": "https://registry.npmjs.org/dedent/-/dedent-0.6.0.tgz" }, "files": [ "dist/dedent.js", "LICENSE" ], "gitHead": "e7d0bcea425ff647791a30cd9db0fb486c26078a", "homepage": "https://github.com/dmnd/dedent", "jest": { "scriptPreprocessor": "/node_modules/babel-jest", "testFileExtensions": [ "js" ], "moduleFileExtensions": [ "js", "json" ] }, "keywords": [ "dedent", "tag", "multi-line string", "es6" ], "license": "MIT", "main": "dist/dedent.js", "maintainers": [ { "name": "dmnd", "email": "dmnd@desmondbrand.com" } ], "name": "dedent", "optionalDependencies": {}, "readme": "# Dedent\n\nAn ES6 string tag that strips indentation from multi-line strings.\n\n## Usage\n\n```js\nimport dedent from \"dedent\";\n\nfunction usageExample() {\n const first = dedent`A string that gets so long you need to break it over\n multiple lines. Luckily dedent is here to keep it\n readable without lots of spaces ending up in the string\n itself.`;\n\n const second = dedent`\n Leading and trailing lines will be trimmed, so you can write something like\n this and have it work as you expect:\n\n * how convenient it is\n * that I can use an indented list\n - and still have it do the right thing\n\n That's all.\n `;\n\n const third = dedent(`\n Wait! I lied. Dedent can also be used as a function.\n `);\n\n return first + \"\\n\\n\" + second + \"\\n\\n\" third;\n}\n```\n\n```js\n> console.log(usageExample());\n```\n\n```\nA string that gets so long you need to break it over\nmultiple lines. Luckily dedent is here to keep it\nreadable without lots of spaces ending up in the string\nitself.\n\nLeading and trailing lines will be trimmed, so you can write something like\nthis and have it work as you expect:\n\n * how convenient it is\n * that I can use an indented list\n - and still have it do the right thing\n\nThat's all.\n\nWait! I lied. Dedent can also be used as a function.\n```\n\n## License\n\nMIT\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git://github.com/dmnd/dedent.git" }, "scripts": { "lint": "eslint dedent.js __tests__", "test": "jest" }, "version": "0.6.0" }