1.1.6 • Published 8 years ago

separateit v1.1.6

Weekly downloads
7
License
-
Repository
github
Last release
8 years ago

separateit

an optional separator with any delimeter

const separateit=require('sparateit');
separateit("100000000000",{delimeter:",",flag:"g",num:3})
// the result will be
// 100,000,000

api

separateit(string, options)

options

  • delimeter the separator character (default comma)
  • flag special flag of regex (defaults g)
  • num the number of characters to separate (default 3)
1.1.6

8 years ago

1.1.5

8 years ago

1.0.5

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.0

8 years ago