node package manager

can-make-map

can-make-map

Build Status

Convert a comma-separated string into a plain JavaScript object.

Usage

ES6 use

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

import plugin from 'can-make-map';

CommonJS use

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

var plugin = require("can-make-map");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-make-map/dist/global/can-make-map.js'></script>