0.1.3 • Published 6 months ago

slugify-khmer v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Slugify Khmer

A simple Khmer text slugify built for speed not correctness and was built on top of split-khmer

Install

npm install slugify-khmer

Usage

import { slugify } from 'slugify-khmer';

slugify('មិនដឹងទេ that\'s nice') 
// => mindoeng-te that's nice

slugify('មិនដឹងទេ that\'s nice', "_") 
// => mindoeng_te that's nice

transform(text: string): Generator<string>

import { transform } from 'slugify-khmer';

for (const s of transform('មិនដឹងទេ')) {
	console.log(s);
}

License

MIT

0.1.3

6 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago