url-template-

    1.0.1 • Public • Published

    url-template-

    url-template- is yet another Javascript library for expanding URI templates according to RFC-6570. Note it doesn't do everything specified in the RFC and deals with expansion only of URI templates.

    Installation

    npm install https://github.com/robhicks/url-template-.git
     
    # or 
     
    yarn add https://github.com/robhicks/url-template-.git
     

    Use

    You can use the library in the browser or on NodeJs.

    In the browser you can load dist/url-template-.iife.js in a script tag, or if you are using an es6 aware bundler like RollupJs, you can import it into your entry file using Node's resolution algorithm (rollup-plugin-node-resolve).

    In NodeJs, require it as usual.

    Examples

    Install

    npm i url-template-

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar