New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

shcoffee

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shcoffee

Easily use CoffeeScript for global ShellJS scripts without .coffee extension.

latest
Source
npmnpm
Version
0.0.3
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

shcoffee

Easily use CoffeeScript for global ShellJS scripts without .coffee extension.

Install

First make sure you have ShellJS installed globally:

npm install -g shelljs

Then install shcoffee:

npm install -g shcoffee

Example

Create a file with the below contents and call it "hello":

#!/usr/bin/env shcoffee
require 'shelljs/global'
echo 'hello'
exit 1

Make it executable:

$ chmod +x hello

Then run it!

$ ./hello
hello

License

MIT

Keywords

ShellJS

FAQs

Package last updated on 21 Aug 2015

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