New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

unindenter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unindenter

Unindents a string by a maxiumum possible number of white space present on each line.

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

unindenter

GratiPay Build Status Coverage Downloads Version

Unindents a block of text by the lowest common indent amount. This is useful when you want to remove extra indentantion on a code block.

Installation

npm install unindenter

Usage Example

var unindenter = require('unindenter');
unindenter.unindent('\t\tline 1\n\t\tline 2\n\t\t\tline 3');

line 1
line 2
    line 3

Testing

npm test

License

GPL & MIT

Keywords

tabs

FAQs

Package last updated on 07 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts