1.0.1 • Published 3 years ago

special-append v1.0.1

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

special-append

Build Status

Append special character after every x characters

Install

npm install special-append

Usage

const sAppend = require('special-append');

sAppend('123456789', '-', 3));
// Output: 123-456-789

sAppend('123456789', '$', 2);
// Output: 12$34$56$78$9

Parameters

  • value (string): string value.
  • character (string): character to append after x characters.
  • character limit: character limit after which the character will be added.

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here.

Read our contributing guide to get started with contributing to the codebase.

Contributors

Thank you to all the contributors who have helped us in making this project better 🙌

1.0.1

3 years ago

1.0.0

4 years ago