node package manager

can-parse-uri

can-parse-uri

Build Status

Parse a URI into its components.

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-parse-uri';

CommonJS use

Use require to load can-parse-uri and everything else needed to create a template that uses can-parse-uri:

var plugin = require("can-parse-uri");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-parse-uri/dist/global/can-parse-uri.js'></script>