https://github.com/gkhan205/slugifyme
A light weight library to create slugs with ease. Compatible with Browser and Node
https://github.com/gkhan205/slugifyme
formatter javascript make-in-india slugify slugs url
Last synced: 6 months ago
JSON representation
A light weight library to create slugs with ease. Compatible with Browser and Node
- Host: GitHub
- URL: https://github.com/gkhan205/slugifyme
- Owner: gkhan205
- License: mit
- Created: 2021-05-16T13:31:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-16T14:16:02.000Z (over 4 years ago)
- Last Synced: 2025-06-09T12:21:57.363Z (7 months ago)
- Topics: formatter, javascript, make-in-india, slugify, slugs, url
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slugifyme
A light weight library to create slugs with ease. Compatible with Browser and Node
## Usage
```js
import { slugifyme } from "slugifyme";
slugifyme("Create a Slug for me.");
// returns `create-a-slug-for-me`
```
```js
const slugifyme = require("slugifyme");
slugifyme.slugifyme("Create a Slug for me.");
// returns `create-a-slug-for-me`
```
## Demo
Browser Demo (JS, React, Angular, Vue, etc)\
[](https://codesandbox.io/s/slugifyme-demo-fik2x?fontsize=14&hidenavigation=1&theme=dark)
NodeJS Demo\
[](https://codesandbox.io/s/gallant-hodgkin-vzql1?fontsize=14&hidenavigation=1&theme=dark)
---
[Author](https://codewithghazi.com)