1.0.2 • Published 3 years ago

@ninjavid/truncate v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

At first you impor the module

const truncate = require('@ninjavid/truncate')

You call the function passing two parameters

  • the chain (string)
  • the position at which you want to cut the chain (int) .

example

let result = truncate("Australopithèque" , 5);

result

// Austr...

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago