strip-indent
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "strip-indent", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Strip leading whitespace from every line in a string", | ||
@@ -20,3 +20,3 @@ "license": "MIT", | ||
"test": "mocha", | ||
"browser": "a=$npm_package_name; browserify -r ./index:$a -s $a index.js -o browser.js" | ||
"browser": "browserify -s $npm_package_name -o browser.js ." | ||
}, | ||
@@ -23,0 +23,0 @@ "files": [ |
@@ -12,4 +12,2 @@ # strip-indent [![Build Status](https://travis-ci.org/sindresorhus/strip-indent.svg?branch=master)](https://travis-ci.org/sindresorhus/strip-indent) | ||
Download [manually](https://github.com/sindresorhus/strip-indent/releases) or with a package-manager. | ||
```bash | ||
@@ -31,4 +29,2 @@ $ npm install --save strip-indent | ||
```js | ||
var stripIndent = require('strip-indent'); | ||
var str = '\tunicorn\n\t\tcake'; | ||
@@ -47,9 +43,5 @@ /* | ||
Can be used with require, global and AMD in the browser. | ||
## CLI | ||
You can also use it as a CLI app by installing it globally: | ||
```bash | ||
@@ -59,4 +51,2 @@ $ npm install --global strip-indent | ||
### Usage | ||
```bash | ||
@@ -63,0 +53,0 @@ $ strip-indent --help |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3259
65