remove-commas
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

remove-commas

Remove all commas in a string

When you need to remove those pesky commas from a string.

CLI

If no input is provided, the input will be read from the clipboard.

Installation

npm install --global remove-commas

Usage

$ remove-commas --help

  Usage
    $ remove-commas
    $ remove-commas <input>

  Examples
    $ remove-commas 1,333,337

API

Installation

npm install remove-commas

Usage

import removeCommas from 'remove-commas';

console.log(removeCommas('1,333,337'));
// => 1333337

Readme

Keywords

Package Sidebar

Install

npm i remove-commas

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

3.51 kB

Total Files

6

Last publish

Collaborators

  • knutkirkhorn