npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@phoenix-plugin-registry/technet.coffeescriptcompiler

v0.1.0

Published

This extension will compile CoffeeScript files automatically when file is saved. js file will be created in the given folder

Downloads

1

Readme

Brackets CoffeeScript Auto Compiler

Another extension from Technet which compiles CoffeeScript files (files with .coffee extension) and generate Javascript file automatically when file(s) are modified and saved.

CoffeeScript file CoffeeScript File

Compiled Javascript file Javascript File

Usage

Just create CoffeeScript files as usual with the extension of .coffee and this extension will monitor any modifications of those files and output compiled Javascript file when you save the original file. By defult javascript file be created at the same location with same name with .js extension. If you want to output the file into different location use the comment hint as follows. This should be at top of the file before any non empty line. (Didn't want to parse entire file looking for this option as it is unnecessary). out path is always relative to CoffeeScript file.

Ex 1 (store in one level above)

#   cfcoptions : { "out": "../js/"   }    

This will generate the javascript file in js folder which according to following folder structure.

project-folder    
    |---coffee
    |   |---test.coffee
    |---js
        |---test.js

Ex 2 (store in same folder with different name)

#   cfcoptions : { "out": "test2.js"   }

This will generate the javascript file in js folder which according to following folder structure.

project-folder    
    |---coffee
        |---test.coffee
        |---test2.js

Ex 3 (store in sub folder)

#   cfcoptions : { "out": "js/test2.js"   }

This will generate the javascript file in js folder which according to following folder structure.

project-folder    
    |---coffee
        |---test.coffee
        |---js
            |---test2.js

Note: This will not create folders if they are not exist. So before you save and generate make sure you have the correct folder structure.

Future Improvements

  • Automatically create folder structure if not exists.
  • Use folder level configuration file in addition to file level comment for compile option which applies to all files in that folder.
  • Support other CoffeeScript compile options.

Version History

0.1.0

Initial release with basic functionality.