/node-friendly-url-extended

Stack Exchange's friendly url function (extended)

Primary LanguageJavaScriptOtherNOASSERTION

😀 friendly-url-extended

A friendly url function made and used by Stack Exchange on their various websites (1 2). Forked from https://github.com/tallesl/node-friendly-url

This updated version includes more character/sound mappings.

Usage

$ npm install friendly-url-extended
(...)
$ node
> var friendlyUrl = require('friendly-url-extended')
undefined
friendlyUrl('What does “use strict” do in JavaScript, and what is the reasoning behind it?')
'what-does-use-strict-do-in-javascript-and-what-is-the-reasoning-behind-it'