Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
the simplest possible thing for modular javascript projects
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
tasks
.gitignore
README.md
grunt.js
package.json

README.md

Mason: the simplest possible thing for modular javscript projects.

Mason is a command line utility for copying ("installing") local javascript modules, where "module" is either an NPM package or Bower component. Mason extracts the published files and copies them to the destination in your application. It is essentially a very lightweight local Bower and is intended to harness existing NPM and Bower infrastructure.

Installation

npm install mason

Help

mason --help

Command line

mason install [--flatten] [--dest d] dir1 dir2

Grunt

  mason: {
    paths: '../shared',
    dest: 'app/js/components',
    flatten: true
  }

...

  grunt.loadNpmTasks('mason')

grunt mason:install

Something went wrong with that request. Please try again.