Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

strip-indent

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strip-indent - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc