Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coffeeify

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffeeify

browserify v2 plugin for coffee-script with support for mixed .js and .coffee files

  • 0.5.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
354K
decreased by-11.33%
Maintainers
2
Weekly downloads
 
Created

What is coffeeify?

The coffeeify npm package is a Browserify transform for CoffeeScript. It allows you to require CoffeeScript files in your Browserify bundle, enabling seamless integration of CoffeeScript into your JavaScript projects.

What are coffeeify's main functionalities?

Transform CoffeeScript to JavaScript

This feature allows you to transform CoffeeScript files into JavaScript using Browserify. The code sample demonstrates how to bundle a CoffeeScript file (`main.coffee`) into a JavaScript file (`bundle.js`) using the coffeeify transform.

const browserify = require('browserify');
const fs = require('fs');

browserify({
  entries: ['main.coffee'],
  transform: ['coffeeify']
})
.bundle()
.pipe(fs.createWriteStream('bundle.js'));

Integration with Browserify

This feature shows how to integrate coffeeify with Browserify directly. The code sample demonstrates how to bundle a CoffeeScript file (`app.coffee`) into a JavaScript file (`app.bundle.js`) by specifying the `.coffee` extension and using the coffeeify transform.

const browserify = require('browserify');
const coffeeify = require('coffeeify');
const fs = require('fs');

browserify({
  entries: ['app.coffee'],
  extensions: ['.coffee']
})
.transform(coffeeify)
.bundle()
.pipe(fs.createWriteStream('app.bundle.js'));

Other packages similar to coffeeify

Keywords

FAQs

Package last updated on 17 Oct 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc