1.0.1 • Published 1 year ago

mypackage-slugify-tien v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

custom-slugify

custom-slugify is a simple npm library for converting strings into slugs, with the ability to remove specific characters from the result.

Installation

You can install custom-slugify using npm:

npm install custom-slugify

const customSlugify = require('custom-slugify');

// Basic usage console.log(customSlugify('Hello World')); // Output: 'hello-world'

// Removing specific characters console.log(customSlugify('Hello World!', { remove: /*/g })); // Output: 'hello-world!'

1.0.1

1 year ago

1.0.0

1 year ago