router-uri-convert
TypeScript icon, indicating that this package has built-in type declarations

1.0.26 • Public • Published

README

ws-rest
yarn add router-uri-convert
let source = `/users/:user`;

let actual = routerToRfc6570(source);
let expected = `/users/{+user}`;

expect(actual).to.be.deep.equal(expected);

expect(rfc6570ToRouter(actual)).to.be.deep.equal(source);

Package Sidebar

Install

npm i router-uri-convert

Weekly Downloads

28

Version

1.0.26

License

ISC

Unpacked Size

247 kB

Total Files

10

Last publish

Collaborators

  • bluelovers