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

hashhash

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashhash

Rewrites single line CoffeeScript comments beginning with double hashes as block comments


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

hashhash rewrites single line CoffeeScript comments beginning with double hashes as block comments.

Install

    npm install hashhash
    

Command-line Usage

Convert to file using

    hashhash < input.coffee > output.coffee

Convert and compile

    hashhash < input.coffee | coffee -cs

Examples

Single-line comment

hashhash converts following single-line CoffeeScript comment

    ## observe the double hash and space before this comment

to

    ### observe the double hash and space before this comment ###

which when compiled into javascript will be

    /* observe the double hash and space before this comment
    */

Multiple single-line comments

hashhash converts following single-line CoffeeScript comments

    ## observe the double hash and space before this comment
    ## multiple lines must have matching indentation

to

    ###
    observe the double hash and space before this comment
    multiple lines must have matching indentation
    ###

which when compiled into javascript will be

    /*
    observe the double hash and space before this comment
    multiple lines must have matching indentation
    */

FAQs

Package last updated on 05 Apr 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