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

coffee4clients

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee4clients

Extends Express.js such that when a .coffee file is accessed through an express server the response is the compiled javascript instead of the source coffeescript

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Coffee4Clients

Coffee4Clients extends Express.js such that when a .coffee file is accessed through an express server the response is the compiled javascript instead of the source coffeescript

Installing

  1. Install Node.js

  2. Install it

     npm install coffee4clients
    

Using

  • With Node.js in JavaScript

    // Include Coffee4Clients
    require('coffee-script');
    coffee4clients = require('coffee4clients');
    
    // Setup with your Express Server
    coffee4clients.setup(app,publicPath);
    
  • With Node.js in CoffeeScript

    // Include Coffee4Clients
    coffee4clients = require 'coffee4clients'
    
    // Setup with your Express Server
    coffee4clients.setup app, publicPath
    

The app variable is your express server, and the publicPath variable is the full path to your server root

History

  • v0.1 May 18, 2011
    • Initial commit

License

Licensed under the MIT License Copyright 2011 Benjamin Arthur Lupton

Keywords

FAQs

Package last updated on 18 May 2011

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