https://github.com/knutkirkhorn/remove-commas
Remove all commas in a string
https://github.com/knutkirkhorn/remove-commas
cli cli-app command-line nodejs terminal
Last synced: 3 months ago
JSON representation
Remove all commas in a string
- Host: GitHub
- URL: https://github.com/knutkirkhorn/remove-commas
- Owner: knutkirkhorn
- License: mit
- Created: 2023-05-23T09:53:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T15:48:03.000Z (about 3 years ago)
- Last Synced: 2025-08-09T15:03:22.667Z (11 months ago)
- Topics: cli, cli-app, command-line, nodejs, terminal
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```sh
npm install --global remove-commas
```
### Usage
```
$ remove-commas --help
Usage
$ remove-commas
$ remove-commas
Examples
$ remove-commas 1,333,337
```
## API
### Installation
```sh
npm install remove-commas
```
### Usage
```js
import removeCommas from 'remove-commas';
console.log(removeCommas('1,333,337'));
// => 1333337
```