slugify-khmer
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.3
    1
  • 0.1.2
    0
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i slugify-khmer

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

5.75 kB

Total Files

5

Last publish

Collaborators

  • seanghay