{"_id":"indent.js","_rev":"408907","name":"indent.js","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","dist-tags":{"latest":"0.3.5"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"time":{"modified":"2021-08-04T05:00:32.000Z","created":"2016-11-11T15:58:52.430Z","0.3.5":"2020-01-15T06:14:10.487Z","0.3.4":"2018-10-17T02:45:20.374Z","0.3.3":"2018-10-17T02:25:02.679Z","0.3.2":"2018-08-29T02:23:07.139Z","0.3.1":"2018-08-28T00:28:08.358Z","0.3.0":"2018-01-01T18:20:50.706Z","0.2.0":"2017-10-29T03:33:29.257Z","0.1.5":"2017-05-03T02:35:33.916Z","0.1.4":"2017-03-09T02:36:00.854Z","0.1.3":"2016-12-10T15:32:04.755Z","0.1.2":"2016-11-17T03:49:22.242Z","0.1.0":"2016-11-11T15:58:52.430Z"},"users":{},"author":{"name":"Zeb Zhao"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"versions":{"0.3.5":{"name":"indent.js","version":"0.3.5","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","module":"lib/index.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"chai":"^4.1.2","gulp":"^3.9","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1","gulp-umd":"^0.2.0","mocha":"^4.0.1","pump":"^3.0.0"},"scripts":{"build":"gulp build","test":"mocha ./tests/**"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["beautifier","indent","jsx","tsx","typescript","harmony","pure","unopinionated","indentation"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"033b5edfcf8ea34f8e8a010d88a91515e093e7d8","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.3.5","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"e2fefa04043b7be69c33635dc9e0cfb9cc7c4d7f","size":637833,"noattachment":false,"key":"/indent.js/-/indent.js-0.3.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.3.5.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js_0.3.5_1579068850367_0.7349859253944317"},"_hasShrinkwrap":false,"publish_time":1579068850487,"_cnpm_publish_time":1579068850487},"0.3.4":{"name":"indent.js","version":"0.3.4","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","module":"lib/index.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"chai":"^4.1.2","gulp":"^3.9","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1","gulp-umd":"^0.2.0","mocha":"^4.0.1","pump":"^3.0.0"},"scripts":{"build":"gulp build","test":"mocha ./tests/**"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["beautifier","indent","jsx","tsx","typescript","harmony","pure","unopinionated","indentation"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"e9cc31894406b76f278b55bd7285d48cb146440f","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.3.4","_shasum":"8dce369da1319cbd6e65d8deb051a43cbbda110e","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"8dce369da1319cbd6e65d8deb051a43cbbda110e","size":641214,"noattachment":false,"key":"/indent.js/-/indent.js-0.3.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.3.4.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js_0.3.4_1539744320195_0.41561296688217486"},"_hasShrinkwrap":false,"publish_time":1539744320374,"_cnpm_publish_time":1539744320374},"0.3.3":{"name":"indent.js","version":"0.3.3","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","module":"lib/index.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"chai":"^4.1.2","gulp":"^3.9","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1","gulp-umd":"^0.2.0","mocha":"^4.0.1","pump":"^3.0.0"},"scripts":{"build":"gulp build","test":"mocha ./tests/**"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["beautifier","indent","jsx","tsx","typescript","harmony","pure","unopinionated","indentation"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"23fc75e33b26bd4d689c686d4d25a3cf55ee072d","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.3.3","_shasum":"af90600e9895a0143e23dbbf08fbcfff9bbcd70d","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"af90600e9895a0143e23dbbf08fbcfff9bbcd70d","size":641101,"noattachment":false,"key":"/indent.js/-/indent.js-0.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.3.3.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js_0.3.3_1539743102536_0.37322336219456353"},"_hasShrinkwrap":false,"publish_time":1539743102679,"_cnpm_publish_time":1539743102679},"0.3.2":{"name":"indent.js","version":"0.3.2","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","module":"lib/index.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"chai":"^4.1.2","gulp":"^3.9","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1","gulp-umd":"^0.2.0","mocha":"^4.0.1","pump":"^3.0.0"},"scripts":{"build":"gulp build","test":"mocha ./tests/**"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["beautifier","indent","jsx","tsx","typescript","harmony","pure","unopinionated","indentation"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"e3e6a2e488e799d2814c8f5def7291bafebcc4e9","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.3.2","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"7188135c1441d85d48b8b2d9f5644f8489b6ac26","size":636499,"noattachment":false,"key":"/indent.js/-/indent.js-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.3.2.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js_0.3.2_1535509386928_0.7941197303499299"},"_hasShrinkwrap":false,"publish_time":1535509387139,"_cnpm_publish_time":1535509387139},"0.3.1":{"name":"indent.js","version":"0.3.1","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"chai":"^4.1.2","gulp":"^3.9","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1","gulp-umd":"^0.2.0","mocha":"^4.0.1"},"scripts":{"build":"gulp build","test":"mocha ./tests/**"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["beautifier","indent","jsx","tsx","typescript","harmony","pure","unopinionated","indentation"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"2161c2c8f1e83a06ae44f7a2676ca0b33c255d40","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.3.1","_shasum":"51a0709eacf4d93bc6488e042444adb0d503ace7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"51a0709eacf4d93bc6488e042444adb0d503ace7","size":638299,"noattachment":false,"key":"/indent.js/-/indent.js-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.3.1.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js_0.3.1_1535416088224_0.8257386156433335"},"_hasShrinkwrap":false,"publish_time":1535416088358,"_cnpm_publish_time":1535416088358},"0.3.0":{"name":"indent.js","version":"0.3.0","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"chai":"^4.1.2","gulp":"^3.9","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1","gulp-umd":"^0.2.0","mocha":"^4.0.1"},"scripts":{"build":"gulp build","test":"mocha ./tests/**"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"3b453c81ea5398467f313b6c0b47f07051696e92","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.3.0","_shasum":"df9a186f9b350f345c1d9482c2729504b27c7345","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"df9a186f9b350f345c1d9482c2729504b27c7345","size":639610,"noattachment":false,"key":"/indent.js/-/indent.js-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.3.0.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js-0.3.0.tgz_1514830850430_0.5105538521893322"},"publish_time":1514830850706,"_hasShrinkwrap":false,"_cnpm_publish_time":1514830850706},"0.2.0":{"name":"indent.js","version":"0.2.0","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"jasmine-core":"^2.2.0","karma":"^1.7.0","karma-coverage":"^0.3.1","karma-jasmine":"^0.3.5","karma-phantomjs-launcher":"^0.1.4","gulp":"^3.9","gulp-umd":"^0.2.0","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1"},"scripts":{"test":"karma start karma.conf.js --single-run","start":"http-server -a localhost -p 8123 -c-1","build":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"5dbd461375e9e99f19a2984514f1d45ed5079cb4","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.2.0","_shasum":"974d169ac2e23f32b020558c7325227172da05b7","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"974d169ac2e23f32b020558c7325227172da05b7","size":641636,"noattachment":false,"key":"/indent.js/-/indent.js-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.2.0.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/indent.js-0.2.0.tgz_1509248009061_0.32314033806324005"},"publish_time":1509248009257,"_cnpm_publish_time":1509248009257,"_hasShrinkwrap":false},"0.1.5":{"name":"indent.js","version":"0.1.5","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"jasmine-core":"^2.2.0","karma":"^0.12.31","karma-coverage":"^0.3.1","karma-jasmine":"^0.3.5","karma-phantomjs-launcher":"^0.1.4","gulp":"^3.9","gulp-umd":"^0.2.0","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1"},"scripts":{"test":"karma start karma.conf.js --single-run","start":"http-server -a localhost -p 8123 -c-1","build":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"f2e1fda89b25e6ef0c789e4af8f559fd23796fca","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.1.5","_shasum":"1cb327b71385b9ce6f2498c97f3bf83427dfc3ba","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"1cb327b71385b9ce6f2498c97f3bf83427dfc3ba","size":644513,"noattachment":false,"key":"/indent.js/-/indent.js-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.1.5.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/indent.js-0.1.5.tgz_1493778931730_0.2889929253142327"},"publish_time":1493778933916,"_cnpm_publish_time":1493778933916,"_hasShrinkwrap":false},"0.1.4":{"name":"indent.js","version":"0.1.4","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"jasmine-core":"^2.2.0","karma":"^0.12.31","karma-coverage":"^0.3.1","karma-jasmine":"^0.3.5","karma-phantomjs-launcher":"^0.1.4","gulp":"^3.9","gulp-umd":"^0.2.0","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1"},"scripts":{"test":"karma start karma.conf.js --single-run","start":"http-server -a localhost -p 8123 -c-1","build":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"4e293c375bb1df6fa5170b7b2e70af165d7ddb18","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.1.4","_shasum":"1f80b9e1adf3dcaa0ff4eb7e96df8b7bd245cb5d","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"1f80b9e1adf3dcaa0ff4eb7e96df8b7bd245cb5d","size":644287,"noattachment":false,"key":"/indent.js/-/indent.js-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.1.4.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/indent.js-0.1.4.tgz_1489026958542_0.8684989551547915"},"publish_time":1489026960854,"_cnpm_publish_time":1489026960854,"_hasShrinkwrap":false},"0.1.3":{"name":"indent.js","version":"0.1.3","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"jasmine-core":"^2.2.0","karma":"^0.12.31","karma-coverage":"^0.3.1","karma-jasmine":"^0.3.5","karma-phantomjs-launcher":"^0.1.4","gulp":"^3.9","gulp-umd":"^0.2.0","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1"},"scripts":{"test":"karma start karma.conf.js --single-run","start":"http-server -a localhost -p 8123 -c-1","build":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"803715d39ecf44fb52df82d9b2f516d7cbd9e347","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.1.3","_shasum":"ff36e8679a655343c525f1b443f605944a5dd95e","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"ff36e8679a655343c525f1b443f605944a5dd95e","size":643510,"noattachment":false,"key":"/indent.js/-/indent.js-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.1.3.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/indent.js-0.1.3.tgz_1481383924509_0.23347340524196625"},"publish_time":1481383924755,"_cnpm_publish_time":1481383924755,"_hasShrinkwrap":false},"0.1.2":{"name":"indent.js","version":"0.1.2","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"jasmine-core":"^2.2.0","karma":"^0.12.31","karma-coverage":"^0.3.1","karma-jasmine":"^0.3.5","karma-phantomjs-launcher":"^0.1.4","gulp":"^3.9","gulp-umd":"^0.2.0","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1"},"scripts":{"test":"karma start karma.conf.js --single-run","start":"http-server -a localhost -p 8123 -c-1","build":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"ccc652b17fcf50753ee1d9a2c3626a1980aab417","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.1.2","_shasum":"b1f6fac728d699cbddf69541821014aac4f1f006","_from":".","_npmVersion":"3.8.3","_nodeVersion":"5.10.1","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"b1f6fac728d699cbddf69541821014aac4f1f006","size":640870,"noattachment":false,"key":"/indent.js/-/indent.js-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.1.2.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/indent.js-0.1.2.tgz_1479354559494_0.8596778237260878"},"publish_time":1479354562242,"_cnpm_publish_time":1479354562242,"_hasShrinkwrap":false},"0.1.0":{"name":"indent.js","version":"0.1.0","description":"Fast minimalistic pure indentation of JavaScript, CSS, and HTML.","main":"lib/indent.js","directories":{"test":"tests","lib":"lib","src":"src"},"dependencies":{},"devDependencies":{"jasmine-core":"^2.2.0","karma":"^0.12.31","karma-coverage":"^0.3.1","karma-jasmine":"^0.3.5","karma-phantomjs-launcher":"^0.1.4","gulp":"^3.9","gulp-umd":"^0.2.0","gulp-concat":"^2.6.0","gulp-uglify":"^1.4.1"},"scripts":{"test":"karma start karma.conf.js --single-run","start":"http-server -a localhost -p 8123 -c-1","build":"gulp build"},"repository":{"type":"git","url":"git+https://github.com/zebzhao/indent.js.git"},"keywords":["indent","indent.js","indenter","indentjs","indentcss","indenthtml"],"author":{"name":"Zeb Zhao"},"license":"MIT","homepage":"https://github.com/zebzhao/indent.js","gitHead":"217e48b360d2c9f3ac9c7e70c250333e5e8c14ca","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"_id":"indent.js@0.1.0","_shasum":"ee338a7927cbd3f72d783e58a18373339d2af56b","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"},"dist":{"shasum":"ee338a7927cbd3f72d783e58a18373339d2af56b","size":639340,"noattachment":false,"key":"/indent.js/-/indent.js-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/indent.js/download/indent.js-0.1.0.tgz"},"maintainers":[{"name":"zebzhao","email":"gunizarkaigoon@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/indent.js-0.1.0.tgz_1478879929699_0.5861840476281941"},"publish_time":1478879932430,"_cnpm_publish_time":1478879932430,"_hasShrinkwrap":false}},"readme":"# indent.js - pure code indentation for js, jsx, json, ts, tsx, html, css, less, scss\n\n[![Build Status](https://travis-ci.org/zebzhao/indent.js.svg?branch=master)](https://travis-ci.org/zebzhao/indent.js)\n\nFast, minimalistic, pure code indentation. Indents JavaScript, JSON, JSX, Typescript, TSX, CSS, LESS, SCSS, and HTML. Unlike JSBeautify, which adds new lines when reformatting code and changes single line expressions, indent.js preserves new lines in when indenting it. Indent.js is coded with simple, but universal, and unopinionated rules.\n\nIndent.js is thoroughly tested to make sure it correctly indents all styles, and types of code.\n\n*If you like this project please leave a star. Your support is greatly appreciated.*\n\n[Online indent.js demo](https://zebzhao.github.io/indent.js/)\n\nYou have following options to get indent.js:\n\n1. Install with [bower](http://bower.io): ```bower install indent.js```\n2. Install with [npm](https://www.npmjs.com): ```npm install indent.js```\n\n## Download\n\n* [Minified (~2.7 kB) with gzip](https://raw.githubusercontent.com/zebzhao/indent.js/master/lib/indent.min.js)\n* [Not minified (~6 kB) with gzip](https://raw.githubusercontent.com/zebzhao/indent.js/master/lib/indent.js)\n\n\n## Usage\n\nBrowser Global\n```javascript\nvar indented = indent.js(code, {tabString: '\\t'});\nconsole.log(indented);\n```\n\nBrowser using AMD\n```javascript\ndefine(['indent'] , function (indent) {\n    var indented = indent.js(code, {tabString: '\\t'});\n    console.log(indented);\n});\n```\n\nNode/CommonJS\n```javascript\nvar indent = require('indent');\nvar indented = indent.js(code, {tabString: '  '});\nconsole.log(indented);\n```\n\nES6/ES2015 Modules\n```javascript\nimport indent from 'indent.js';\n\nvar indentedJs = indent.js(code);  // JSX as well\nvar indentedTs = indent.ts(code);  // TSX as well\nvar indentedCss = indent.css(code);\nvar indentedHtml = indent.html(code);\n```\n\n## Projects using indent.js:\n\n1. [Spck Editor - Full-fledged code editor for the web](https://spck.io/)\n\n## API Reference\n\n### Methods\n\n```javascript\njs(code: String, options: Object): String\nts(code: String, options: Object): String\ncss(code: String, options: Object): String\nhtml(code: String, options: Object): String\n```\n\n#### Options\n\n|Field|Type|Description|\n|:--- |:--- |:--- |\n|`tabString`|`string`|String to indent the code with. Counts as 1 indent.|\n|`indentHtmlTag`|`bool`|Whether to indent contents inside `<html>` tag or not. Valid only for `html(...)`.|\n\n## Languages not supported:\n\n1. CoffeeScript\n2. Pug\n\n## Getting the project\n\n1. Clone the repo.\n2. Run `npm install` to install dependencies\n3. Run `npm test` to run tests in `tests` folder\n4. Run `npm run build` to build the project\n","_attachments":{},"homepage":"https://github.com/zebzhao/indent.js","bugs":{"url":"https://github.com/zebzhao/indent.js/issues"},"license":"MIT"}