underscore.url

0.2.0 • Public • Published

underscore.url

URL Parsing with Extensions for JavaScript

Install

npm install underscore.url

Standalone usage:

var _url = require('underscore.url');

Integrate with Underscore.js:

var _ = require('underscore');
_.mixin(require('underscore.url').url);

API

_.url("http://www.youtube.com/watch?v=ZgRnLM9Vi24");
// #<YoutubeVideo id="ZgRnLM9Vi24" src="http://www.youtube.com/watch?v=ZgRnLM9Vi24" srcImage="http://img.youtube.com/ZgRnLM9Vi24">

Development

npm install uglify-js
coffee -c --no-wrap -o lib -w src
coffee -c -o lib -w src
jasmine-node --coffee .
coffee --join underscore.url.min.js --compile src/*.coffee
cake build

Resources

Readme

Keywords

none

Package Sidebar

Install

npm i underscore.url

Weekly Downloads

0

Version

0.2.0

License

none

Last publish

Collaborators

  • viatropos