{"_id":"outdent","_rev":"256238","name":"outdent","description":"Remove leading indentation from ES6 template literals.","dist-tags":{"latest":"0.8.0"},"maintainers":[{"name":"cspotcode","email":""}],"time":{"modified":"2021-06-03T16:25:23.000Z","created":"2015-12-23T16:53:49.904Z","0.8.0":"2020-12-16T22:50:08.084Z","0.7.1":"2020-03-17T13:22:06.479Z","0.7.0":"2018-09-04T03:02:42.962Z","0.6.0":"2018-09-04T00:54:24.886Z","0.5.0":"2018-03-17T23:36:54.585Z","0.4.1":"2017-10-27T02:14:25.731Z","0.4.0-rc2":"2017-10-18T05:36:22.493Z","0.4.0-rc1":"2017-10-18T05:17:48.425Z","0.3.0":"2016-09-26T00:36:38.811Z","0.2.1":"2016-09-23T22:27:53.604Z","0.2.0":"2016-09-23T04:03:08.908Z","0.1.2":"2015-12-23T17:33:47.412Z","0.1.1":"2015-12-23T17:18:25.554Z","0.1.0":"2015-12-23T16:53:49.904Z"},"users":{"hugojosefson":true,"suchipi":true},"author":"Andrew Bradley <cspotcode@gmail.com>","repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"versions":{"0.8.0":{"name":"outdent","version":"0.8.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node-script ./scripts/run.ts","build":"ts-node-script ./scripts/run.ts","test":"ts-node-script ./scripts/run.ts","lint":"ts-node-script ./scripts/run.ts","format":"ts-node-script ./scripts/run.ts","prepack":"ts-node-script ./scripts/run.ts","setup":"ts-node-script ./scripts/run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":"Andrew Bradley <cspotcode@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/fs-extra":"^9.0.5","@types/mocha":"^2.2.43","@types/node":"^14.14.12","@types/webpack":"^4.4.11","@types/which":"^1.0.28","chai":"^4.1.2","execa":"^5.0.0","fs-extra":"^9.0.1","mocha":"^4.0.1","np":"^6.2.0","ts-node":"^9.1.1","typescript":">=4.1.3 <4.2","webpack":"^4.17.2","which":"^1.3.0"},"_id":"outdent@0.8.0","dist":{"shasum":"2ebc3e77bf49912543f1008100ff8e7f44428eb0","size":9916,"noattachment":false,"key":"/outdent/-/outdent-0.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.8.0.tgz"},"_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"directories":{},"maintainers":[{"name":"cspotcode","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent_0.8.0_1608159007903_0.7160815270748644"},"_hasShrinkwrap":false,"publish_time":1608159008084,"_cnpm_publish_time":1608159008084},"0.7.1":{"name":"outdent","version":"0.7.1","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","lint":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","format":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepack":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","setup":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/webpack":"^4.4.11","@types/which":"^1.0.28","chai":"^4.1.2","mocha":"^4.0.1","np":"^6.2.0","rimraf":"^2.6.2","source-map-support":"^0.5.0","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-language-service":"^0.9.6","typescript":"3.8.3","typescript-formatter":"7.2.2","webpack":"^4.17.2","which":"^1.3.0"},"dependencies":{},"gitHead":"c3db8ed6a02cf3abc158b1493d79f27ffe039315","_id":"outdent@0.7.1","_nodeVersion":"13.3.0","_npmVersion":"6.13.1","dist":{"shasum":"e9b400443622a97760b0bc74fa3223252ccd02a2","size":11113,"noattachment":false,"key":"/outdent/-/outdent-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.7.1.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent_0.7.1_1584451326349_0.3380146292239792"},"_hasShrinkwrap":false,"publish_time":1584451326479,"_cnpm_publish_time":1584451326479},"0.7.0":{"name":"outdent","version":"0.7.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","lint":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","format":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepack":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","setup":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/webpack":"^4.4.11","@types/which":"^1.0.28","chai":"^4.1.2","mocha":"^4.0.1","rimraf":"^2.6.2","source-map-support":"^0.5.0","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-language-service":"^0.9.6","typescript":"^3.0.3","typescript-formatter":"^6.0.0","webpack":"^4.17.2","which":"^1.3.0"},"dependencies":{},"gitHead":"6a2d05c814219b37415268d36ce76491f917699d","_id":"outdent@0.7.0","_npmVersion":"6.3.0","_nodeVersion":"9.2.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"dist":{"shasum":"cfd1f1956305141e0cf3e898ada6547373c1997a","size":9742,"noattachment":false,"key":"/outdent/-/outdent-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.7.0.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent_0.7.0_1536030162826_0.09186318851000119"},"_hasShrinkwrap":false,"publish_time":1536030162962,"_cnpm_publish_time":1536030162962},"0.6.0":{"name":"outdent","version":"0.6.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","lint":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","format":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepack":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts","setup":"ts-node -T -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/webpack":"^4.4.11","@types/which":"^1.0.28","chai":"^4.1.2","mocha":"^4.0.1","rimraf":"^2.6.2","source-map-support":"^0.5.0","ts-node":"^7.0.1","tslint":"^5.11.0","tslint-language-service":"^0.9.6","typescript":"^3.0.3","typescript-formatter":"^6.0.0","webpack":"^4.17.2","which":"^1.3.0"},"dependencies":{},"gitHead":"60ba926a75d2d0549ddb546ea4f24852261cfd06","_id":"outdent@0.6.0","_npmVersion":"6.3.0","_nodeVersion":"9.2.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"dist":{"shasum":"b2b9003e352da97399137ff4c1e816888f75197b","size":8718,"noattachment":false,"key":"/outdent/-/outdent-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.6.0.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent_0.6.0_1536022464724_0.299647046532999"},"_hasShrinkwrap":false,"publish_time":1536022464886,"_cnpm_publish_time":1536022464886},"0.5.0":{"name":"outdent","version":"0.5.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","lint":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","format":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepack":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","setup":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/which":"^1.0.28","chai":"^4.1.2","mocha":"^4.0.1","rimraf":"^2.6.2","source-map-support":"^0.5.0","ts-node":"^3.3.0","tslint":"^5.9.1","tslint-language-service":"^0.9.6","typescript":"^2.7.2","typescript-formatter":"^6.0.0","which":"^1.3.0"},"files":["lib","lib-module","src","LICENSE","README.md","tsconfig-module.json","tsconfig.json"],"dependencies":{},"gitHead":"0f1c6f3613c004d2148b82a230aae834190935e9","_id":"outdent@0.5.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"dist":{"shasum":"9e10982fdc41492bb473ad13840d22f9655be2ff","size":8004,"noattachment":false,"key":"/outdent/-/outdent-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.5.0.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent_0.5.0_1521329814524_0.08400931065053574"},"_hasShrinkwrap":false,"publish_time":1521329814585,"_cnpm_publish_time":1521329814585},"0.4.1":{"name":"outdent","version":"0.4.1","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","lint":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","format":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepack":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","setup":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/which":"^1.0.28","chai":"^4.1.2","mocha":"^4.0.1","rimraf":"^2.6.2","source-map-support":"^0.5.0","ts-node":"^3.3.0","tslint":"^5.7.0","tslint-language-service":"^0.9.6","typescript":"^2.5.3","typescript-formatter":"^6.0.0","which":"^1.3.0"},"files":["lib","lib-module","src","LICENSE","README.md","tsconfig-module.json","tsconfig.json"],"gitHead":"2130899db92f5231acd30b0507fb03f9e56b93b9","_id":"outdent@0.4.1","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"dist":{"shasum":"92dd65ff729032770e375c943dfd120025beef7e","size":7686,"noattachment":false,"key":"/outdent/-/outdent-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.4.1.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent-0.4.1.tgz_1509070464760_0.9720437759533525"},"directories":{},"publish_time":1509070465731,"_hasShrinkwrap":false,"_cnpm_publish_time":1509070465731},"0.4.0-rc2":{"name":"outdent","version":"0.4.0-rc2","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepublish":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/which":"^1.0.28","chai":"^3.4.1","mocha":"^2.3.4","rimraf":"^2.6.2","source-map-support":"^0.4.0","ts-node":"^3.3.0","typescript":"^2.5.3","which":"^1.3.0"},"files":["lib","lib-module","src","LICENSE","README.md","tsconfig-module.json","tsconfig.json"],"gitHead":"8a52c07efb3bff75b1f3ff03692115e16c2237ea","_id":"outdent@0.4.0-rc2","_npmVersion":"5.4.2","_nodeVersion":"8.1.2","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"dist":{"shasum":"e3c08e94ae368e7559186827ee0bf1657401419b","size":7765,"noattachment":false,"key":"/outdent/-/outdent-0.4.0-rc2.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.4.0-rc2.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent-0.4.0-rc2.tgz_1508304981595_0.37796083209104836"},"directories":{},"publish_time":1508304982493,"_hasShrinkwrap":false,"_cnpm_publish_time":1508304982493},"0.4.0-rc1":{"name":"outdent","version":"0.4.0-rc1","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"lib-module/index.js","module":"lib-module/index.js","typings":"lib/index.d.ts","scripts":{"clean":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","build":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","test":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts","prepublish":"ts-node -F -P ./scripts/tsconfig.json ./scripts/npm-run.ts"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.44","@types/rimraf":"^2.0.2","@types/source-map-support":"^0.4.0","@types/which":"^1.0.28","chai":"^3.4.1","mocha":"^2.3.4","rimraf":"^2.6.2","source-map-support":"^0.4.0","ts-node":"^3.3.0","typescript":"^2.5.3","which":"^1.3.0"},"files":["lib","lib-module","src","LICENSE","README.md","tsconfig-module.json","tsconfig.json"],"gitHead":"ad78c30bff761a9bd06a6c310f318f649e1acf32","_id":"outdent@0.4.0-rc1","_npmVersion":"5.4.2","_nodeVersion":"8.1.2","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"dist":{"shasum":"667a5d97de018e19f2d6a2eff6be5aea49c12ee7","size":7770,"noattachment":false,"key":"/outdent/-/outdent-0.4.0-rc1.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.4.0-rc1.tgz"},"maintainers":[{"name":"cspotcode","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/outdent-0.4.0-rc1.tgz_1508303867528_0.6966277798637748"},"directories":{},"publish_time":1508303868425,"_cnpm_publish_time":1508303868425,"_hasShrinkwrap":false},"0.3.0":{"name":"outdent","version":"0.3.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"src/index.es","typings":"src/index.d.ts","scripts":{"clean":"rm -rf node_modules && rm -rf bin","build":"babel src -d lib","test":"npm run-script build && mocha && tsc -p test/ts","prepublish":"if [ \"$NPM_SKIP_PREPUBLISH\" != \"1\" ]; then ( echo Cleaning and installing && npm run-script clean && NPM_SKIP_PREPUBLISH=1 npm install && npm test ) ; else echo skipping recursive prepublish ; fi"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","chai":"^3.4.1","mocha":"^2.3.4","source-map-support":"^0.4.0","typescript":"^2.0.3"},"gitHead":"c4327666435977afe298e6a57a3f66010dbe1cfa","_id":"outdent@0.3.0","_shasum":"fad18a9c061a0938f38e8071d16c4024423f4323","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"maintainers":[{"name":"cspotcode","email":""}],"dist":{"shasum":"fad18a9c061a0938f38e8071d16c4024423f4323","size":11160,"noattachment":false,"key":"/outdent/-/outdent-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.3.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/outdent-0.3.0.tgz_1474850197535_0.013576060067862272"},"directories":{},"publish_time":1474850198811,"_cnpm_publish_time":1474850198811,"_hasShrinkwrap":false},"0.2.1":{"name":"outdent","version":"0.2.1","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"src/index.es","typings":"src/index.d.ts","scripts":{"clean":"rm -rf node_modules && rm -rf bin","build":"babel src -d lib","test":"npm run-script build && mocha && tsc -p test/ts","prepublish":"if [ \"$NPM_SKIP_PREPUBLISH\" != \"1\" ]; then ( echo Cleaning and installing && npm run-script clean && NPM_SKIP_PREPUBLISH=1 npm install && npm test ) ; else echo skipping recursive prepublish ; fi"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","chai":"^3.4.1","mocha":"^2.3.4","source-map-support":"^0.4.0","typescript":"^2.0.3"},"gitHead":"39a0a88ceb26077eb8f4a10dca98c2362cc6a1e0","_id":"outdent@0.2.1","_shasum":"afb44eae9fcf1176b809404485c10d502db2b2ce","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"maintainers":[{"name":"cspotcode","email":""}],"dist":{"shasum":"afb44eae9fcf1176b809404485c10d502db2b2ce","size":10637,"noattachment":false,"key":"/outdent/-/outdent-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.2.1.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/outdent-0.2.1.tgz_1474669672349_0.5398468561470509"},"directories":{},"publish_time":1474669673604,"_cnpm_publish_time":1474669673604,"_hasShrinkwrap":false},"0.2.0":{"name":"outdent","version":"0.2.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"src/index.es","typings":"src/index.d.ts","scripts":{"build":"babel src --out-dir lib","test":"npm run-script build && mocha && tsc -p test/ts","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","chai":"^3.4.1","mocha":"^2.3.4","source-map-support":"^0.4.0","typescript":"^2.0.3"},"gitHead":"f66ba038a39cdf8b316b65fb324e56cc00fa4e7d","_id":"outdent@0.2.0","_shasum":"33f70809f09387f7660050408c1cde250ceda275","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"maintainers":[{"name":"cspotcode","email":""}],"dist":{"shasum":"33f70809f09387f7660050408c1cde250ceda275","size":9654,"noattachment":false,"key":"/outdent/-/outdent-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/outdent-0.2.0.tgz_1474603387106_0.9740782217122614"},"directories":{},"publish_time":1474603388908,"_cnpm_publish_time":1474603388908,"_hasShrinkwrap":false},"0.1.2":{"name":"outdent","version":"0.1.2","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"src/index.es","scripts":{"build":"babel src --out-dir lib","test":"npm run-script build ; mocha","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","chai":"^3.4.1","mocha":"^2.3.4","source-map-support":"^0.4.0"},"gitHead":"d25ec4ad0f59baa9f7cea340b3b2fbbc0fc53d27","_id":"outdent@0.1.2","_shasum":"f6fff25b0119db285b5a5e6295bde666cbd46223","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"maintainers":[{"name":"cspotcode","email":""}],"dist":{"shasum":"f6fff25b0119db285b5a5e6295bde666cbd46223","size":9231,"noattachment":false,"key":"/outdent/-/outdent-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.1.2.tgz"},"directories":{},"publish_time":1450892027412,"_cnpm_publish_time":1450892027412,"_hasShrinkwrap":false},"0.1.1":{"name":"outdent","version":"0.1.1","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"src/index.es","scripts":{"build":"babel src --out-dir lib","test":"npm run-script build ; mocha","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","chai":"^3.4.1","mocha":"^2.3.4","source-map-support":"^0.4.0"},"gitHead":"ff245e182e57c2ea9a83e9a4e4a1e70e6fcdb1d3","_id":"outdent@0.1.1","_shasum":"68532d440b34727d9838cc122f24765ffd872dde","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"maintainers":[{"name":"cspotcode","email":""}],"dist":{"shasum":"68532d440b34727d9838cc122f24765ffd872dde","size":9210,"noattachment":false,"key":"/outdent/-/outdent-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.1.1.tgz"},"directories":{},"publish_time":1450891105554,"_cnpm_publish_time":1450891105554,"_hasShrinkwrap":false},"0.1.0":{"name":"outdent","version":"0.1.0","description":"Remove leading indentation from ES6 template literals.","main":"lib/index.js","jsnext:main":"src/index.es","scripts":{"build":"babel src --out-dir lib","test":"npm run-script build ; mocha","prepublish":"npm test"},"repository":{"type":"git","url":"git+https://github.com/cspotcode/outdent.git"},"keywords":["es6","es2015","template string","template literal","interpolation","string","template","indent"],"author":{"name":"Andrew Bradley","email":"cspotcode@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"homepage":"https://github.com/cspotcode/outdent#readme","devDependencies":{"babel-cli":"^6.3.17","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","chai":"^3.4.1","mocha":"^2.3.4","source-map-support":"^0.4.0"},"gitHead":"a6a47ffe4889aba6e38e6d2dacbdd353a3538085","_id":"outdent@0.1.0","_shasum":"21c107ec89754e6f66edd3684f0283b704f835a1","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"cspotcode","email":"cspotcode@gmail.com"},"maintainers":[{"name":"cspotcode","email":""}],"dist":{"shasum":"21c107ec89754e6f66edd3684f0283b704f835a1","size":8659,"noattachment":false,"key":"/outdent/-/outdent-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/outdent/download/outdent-0.1.0.tgz"},"directories":{},"publish_time":1450889629904,"_cnpm_publish_time":1450889629904,"_hasShrinkwrap":false}},"readme":"# outdent\n\n## Removes leading indentation from ES6 template strings\n\n[![Build Status](https://travis-ci.org/cspotcode/outdent.svg?branch=master)](https://travis-ci.org/cspotcode/outdent) [![typings included](https://img.shields.io/badge/typings-included-brightgreen.svg)](#typescript-declarations)\n\nES6 template strings are great, but they preserve everything between the backticks, including leading spaces.\nSometimes I want to indent my template literals to make my code more readable without including all those spaces in the\nstring.\n\nOutdent will remove those leading spaces, as well as the leading and trailing newlines.\n\n### Usage\n\nImport **outdent** using your module system of choice.\n\nCommonJS:\n```javascript\nconst outdent = require('outdent');\n```\n\nES6 Modules & TypeScript:\n```javascript\nimport outdent from 'outdent';\n```\n\n#### Examples\n\n```javascript\nimport outdent from 'outdent';\n\nconst markdown = outdent`\n    # My Markdown File\n\n    Here is some indented code:\n\n        console.log(\"hello world!\");\n`;\n\nconsole.log(markdown);\n\nfs.writeFileSync('output.md', markdown);\n```\n\nThe contents of `output.md` do not have the leading indentation:\n\n```markdown\n# My Markdown File\n\nHere is some indented code:\n\n    console.log(\"hello world!\");\n```\n\nAs a JavaScript string:\n\n```javascript\nvar markdown = '# My Markdown File\\n' +\n               '\\n' +\n               'Here is some indented code:\\n' +\n               '\\n' +\n               '    console.log(\"hello world!\");';\n```\n\nYou can pass options to **outdent** to control its behavior. They are explained in [Options](#options).\n\n```javascript\nconst output = outdent({trimLeadingNewline: false, trimTrailingNewline: false})`\n    Hello world!\n`;\n\nassert(output === '\\nHello world!\\n');\n```\n\nYou can explicitly specify the indentation level by passing `outdent` as the first interpolated value. Its position sets the indentation level and it is removed from the output:\n\n```javascript\nconst output = outdent`\n      ${outdent}\n        Yo\n    12345\n          Hello world\n`;\n\nassert(output === '  Yo\\n345\\n    Hello world');\n```\n\n*Note: `${outdent}` must be alone on its own line without anything before or after it. It cannot be preceded by any non-whitespace characters.*\n*If these conditions are not met, outdent will follow normal indentation-detection behavior.*\n\nOutdent can also remove indentation from plain strings via the `string` method.\n\n```javascript\nconst output = outdent.string('\\n    Hello world!\\n');\n\nassert(output === 'Hello world!');\n```\n\n### Options\n\n#### `trimLeadingNewline`\n*Default: true*\n\n#### `trimTrailingNewline`\n*Default: true*\n\nWhether or not outdent should remove the leading and/or trailing newline from your template string.  For example:\n\n```javascript\nvar s = outdent({trimLeadingNewline: false})`\n    Hello\n`;\n\nassert(s === '\\nHello');\n\ns = outdent({trimTrailingNewline: false})`\n    Hello\n`\n\nassert(s === 'Hello\\n');\n\ns = outdent({trimLeadingNewline: false, trimTrailingNewline: false})`\n\n`;\n\nassert(s === '\\n\\n');\n```\n\n#### `newline`\n*Default: null*\n\nIf set to a string, normalize all newlines in the template literal to this value.\n\nIf `null`, newlines are left untouched.\n\nFor example, in the absence of a `.gitattributes` file, source code\nchecked out on Windows will have '\\r\\n' newlines.  This affects\ntemplate literals as well.  The following example would produce\ndifferent results on Windows and Linux, but can be normalized via\n`newline`:\n\n```\ns = outdent `\n    first\n    second\n`;\n\nassert(s === 'first\\r\\nsecond'); // Only true for git checkout on Windows\nassert(s === 'first\\nsecond'); // Only true for git checkout on Linux\n\ns = outdent({newline: '\\n'}) `\n    first\n    second\n`;\n\nassert(s === 'first\\nsecond'); // Always true on any platform\n```\n\nNewlines that get normalized are '\\r\\n', '\\r', and '\\n'.\n\nNewlines within interpolated values are *never* normalized.\n\nAlthough intended for normalizing to '\\n' or '\\r\\n',\nyou can use any string, for example a space.\n\n```javascript\nconst s = outdent({newline: ' '}) `\n    Hello\n    world!\n`;\n\nassert(s === 'Hello world!');\n```\n\n<!--\n#### `pass`\n\nReturns an arguments array that can be passed to another tagging function, instead of returning a string.\n\nFor example, say you want to use outdent with the following code:\n\n```javascript\nfunction query(barVal) {\n    return prepareSql`\nSELECT * from foo where bar = ${barVal}\n    `;\n}\n```\n\n`prepareSql` is expecting to receive a strings array and all interpolated values so that it can create a safe SQL\nquery.  To add outdent into the mix, we\nmust set `pass: true` and splat the result into `prepareSql`.\n\n```javascript\nvar odRaw = outdent({pass: true});\nfunction query(barVal) {\n    return prepareSql(...odRaw`\n        SELECT * from foo where bar = ${barVal}\n    `)\n}\n```\n\n*This is a contrived example because SQL servers don't care about indentation.  But perhaps the result is\nbeing logged and looks better without indentation?  Perhaps you're doing something totally different with tagged\ntemplate strings? Regardless, the `pass` option is here in case you need it. :-)*\n\n-->\n\n### Gotchas\n\n#### Start on a new line\n\nStart the contents of your template string on a new line *after* the opening backtick.  Otherwise, outdent\nhas no choice but to detect indentation from the *second* line, which does not work in all situations.\n\n```javascript\n// Bad\nconst output = outdent `* item 1\n                          * sub-item\n`;\n// output === '* item 1\\n* sub-item'; Indentation of sub-item is lost\n\n// Good\nconst output = outdent `\n    * item 1\n      * sub-item\n`;\n```\n\n#### Spaces and tabs\n\nSpaces and tabs are treated identically. **outdent** does not verify that you are using spaces or tabs consistently; they\nare all treated as a single character for the purpose of removing indentation. Spaces, tabs, and smart tabs should\nall work correctly provided you use them consistently.\n\n### TypeScript declarations\n\nThis module includes TypeScript type declarations so you will get code completion and error-checking without installing anything else.\n\n<!--\n### TODOs\n\n[ ] Support tabs and/or smart tabs (verify they're being used correctly?  Throw an error if not?)\n-->\n\n### Questions or Bugs?\n\nFile an issue on Github: https://github.com/cspotcode/outdent/issues\n","_attachments":{},"homepage":"https://github.com/cspotcode/outdent#readme","bugs":{"url":"https://github.com/cspotcode/outdent/issues"},"license":"MIT"}