JSPM

node-matrix-url

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q32948F
  • License MIT

A helper library for working with Squiz Matrix URLs

Package Exports

  • node-matrix-url

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-matrix-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-matrix-url

A helper library for working with Squiz Matrix URLs

build status

NPM

Example

var matrixUrl = require('node-matrix-url');
var href = matrixUrl('http://mysource.matrix/_admin', {
  assetId: '3'
});

console.log(href);
// http://mysource.matrix/_admin/?SQ_BACKEND_PAGE=main&backend_section=am&am_section=edit_asset&assetid=3&asset_ei_screen=&ignore_frames=1

License

MIT