1.0.4 • Published 5 years ago

slushii-utils v1.0.4

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

slushii-utils

A utils package for slushii

install

npm install slushii-utils

how to use

slugify text

const slushii = require("slushii-utils");
const Utils = new slushii();

// will return "beep-boop"
const slug = slushii.slugify("beep boop");

xss protection

const slushii = require("slushii-utils");
const Utils = new slushii();

// will return stripped text of any html scripts
const slug = slushii.xssProtect("<script>unsave text</script>");
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago