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

spaces-to-tabs

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

spaces-to-tabs

Convert spaces to tab in your files

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

spaces-to-tabs

NPM Version Build Status

Convert spaces to tabs

Install

npm install --global spaces-to-tabs

Usage

  $ spaces-to-tabs -h

  Usage: spaces-to-tabs [options] <file ...>

  Space to tabs: Convert space in your files to tabs

  Options:

    -h, --help              output usage information
    -V, --version           output the version number
    -s, --spaces <integer>  Number of spaces in a group to convert
    -w, --no-write          Don't write the file. Writes by default.

  Globbing is supported in files

  Examples:

    $ spaces-to-tabs jquery-mobile/tests/**/*.js -s 4

  By Amanpreet Singh <@apsdehal>

API

$ npm install --save spaces-to-tabs

var stt = require('spaces-to-tabs');
var str = 'some Strings';
var spacesNo = 4;
str = stt(str, spacesNo);

License

MIT © Amanpreet Singh

Keywords

FAQs

Package last updated on 04 Jan 2018

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

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