string-wizard

1.2.0 • Public • Published

STRING WIZARD

Change text, transform, animations, and even more related to STRING type objects.

  • emojify, change of texte to emoji.
  • capitalize, the first letter of the word to Uppercase.
  • roll, get a random number (limited by a specified number).
  • clean, mainly used to evaluate code.
  • and more (more function added in the future).

Additional functions:

  • version, the version of string wizard.

EXEMPLES

  • clean exemple:
const to_eval = eval("const foo = 'foo'; return foo");
return clean(to_eval, { code: "xl" });
"foo"
  • roll exemple:
const number = 3;
return roll(number);
2 (or 1, 3)

NEED HELP ?

Go to the issue or contact me !

Package Sidebar

Install

npm i string-wizard

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

3.56 kB

Total Files

4

Last publish

Collaborators

  • 244terra