node package manager



Build Status

A simplified version of Object.assign, which only accepts a single source argument.


ES6 use

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

import plugin from 'can-assign';

CommonJS use

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

var plugin = require("can-assign");

Standalone use

Load the global version of the plugin:

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