https://github.com/peerlibrary/meteor-urlify2
Generate slugs with smart urlify
https://github.com/peerlibrary/meteor-urlify2
Last synced: about 1 year ago
JSON representation
Generate slugs with smart urlify
- Host: GitHub
- URL: https://github.com/peerlibrary/meteor-urlify2
- Owner: peerlibrary
- License: other
- Created: 2013-07-03T02:17:17.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2015-01-17T16:44:56.000Z (over 11 years ago)
- Last Synced: 2025-03-31T01:01:39.321Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://atmospherejs.com/package/urlify2
- Size: 186 KB
- Stars: 8
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
urlify2
=======
Adding this package to your [Meteor](http://www.meteor.com/) application adds `URLify2` function into the global scope,
which you can use to make slugs from Unicode strings. Resulting slugs are lower space and spaces are replaced with `-`.
It works both on server and client.
Based on Django's [urlify](https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js)
with character maps for additional languages and fallback to UTF-8 normalization string cleanup based on
[django-missing](https://github.com/mitar/django-missing) and work by [Richard Ishida](http://rishida.net/).
Both client and server side.
Installation
------------
```
meteor add peerlibrary:urlify2
```