Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Unindents a block of text by the lowest common indent amount. Parses key/value pairs into hash object.
CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
GPL-LICENSE
Gruntfile.coffee
MIT-LICENSE
README.md
karma.conf.coffee
package.json

README.md

unindenter

Unindents a block of text by the lowest common indent amount.

Dependency status devDependency Status Build Status

NPM

Installation

npm install unindenter

Usage Example

var unindenter = require('unindenter');
unindenter.unindent('\t\t1\n\t\t2');
// 1\n2

Testing

npm test

License

MIT

Something went wrong with that request. Please try again.