Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

creamify

0.7.1 • Public • Published

creamify

Cream & Sugar Transformer for use with browserify

Adapted from babelify (https://github.com/babel/babelify)

Usage

Here is a gulp example. You'll get the picture :)

var gulp       = require('gulp');
var browserify = require('browserify');
var creamify   = require('creamify');
var source     = require('vinyl-source-stream'); // <- standard re-gulpification
 
gulp.task('cns', function () {
  return browserify({entries: ['/path/to/entry.cns'], extensions: ['.cns']})
         .transform(creamify)
         .bundle()
         .pipe(source('app.js'))
         .pipe(gulp.dest('path/to/output_directory'));
});

install

npm i creamify

Downloadsweekly downloads

2

version

0.7.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar