gel-url

1.0.0 • Public • Published

gel-url

url functions for gel

usage

var gelUrl = require('gel-url');

Call the gelUrl function on your gel instances scope:

gelUrl(gel.scope);

Now you can use url functions in gel expressions:

(url)
-> 'http://localhost/'

(url.pathname)
-> '/'

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3
  • 0.0.2
    2

Package Sidebar

Install

npm i gel-url

Weekly Downloads

2

Version

1.0.0

License

BSD

Last publish

Collaborators

  • korynunn