1.0.1 • Published 10 months ago

@savvagent/tiny-url-template v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

tiny-url-template

tiny-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

The distribution assets are prebuild and are located in the dist directory.

tiny-url-template depends on tiny-uri.

npm install tiny-uri tiny-url-template

# or

yarn add tiny-uri tiny-url-template

# or

bower instal https://github.com/robhicks/tiny-url-template.git

Use

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

In the browser you can load dist/tiny-url-template.iife.js in a script tag, or if you have a browser which supports ES-2015, or 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

See the tests in spec/tiny-url-template.test.js.

Development

The library requires a build step: npm run build

To run the tests: npm run jasmine

1.0.1

10 months ago

2.0.28

1 year ago

2.0.29

1 year ago

2.0.15

1 year ago

2.0.3

1 year ago

2.0.16

1 year ago

2.0.2

1 year ago

2.0.13

1 year ago

2.0.14

1 year ago

2.0.4

1 year ago

2.0.11

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.19

1 year ago

2.0.17

1 year ago

2.0.18

1 year ago

2.0.26

1 year ago

2.0.27

1 year ago

2.0.24

1 year ago

2.0.25

1 year ago

2.0.22

1 year ago

2.0.23

1 year ago

2.0.20

1 year ago

2.0.21

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago