Skip to content

Vietnamese Slug help you create slug from vietnamese words

Notifications You must be signed in to change notification settings

huuson235/vietnamese-slug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Vietnamese-slug

Vietnamese Slug help you create slug from vietnamese words easily.

Install

npm install --save vietnamese-slug

For example:

var slug = require('vietnamese-slug');
var input = 'Đây là một tiêu đề tiếng việt';
var output = slug(input);
console.log(output);
// Output: day-la-mot-tieu-de-tieng-viet

The dash '-' is the default separator but you can choose what separator you want.

var slug = require('vietnamese-slug');
console.log(slug('Đây là tiếng việt', '_'));
// Output: day_la_tieng_viet

More features will be updated soon.
Thank you for your choosing. Happy coding.

God bless you!!!

About

Vietnamese Slug help you create slug from vietnamese words

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published