Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
coffeescript-concat
Advanced tools
A utility for combining coffeescript files and resolving their dependencies.
coffeescript-concat is a utility that preprocesses and concatenates CoffeeScript source files.
It makes it easy to keep your CoffeeScript code in separate units and still run them easily. You can keep your source logically separated without the frustration of putting it all together to run or embed in a web page. Additionally, coffeescript-concat will give you a single sourcefile that will easily compile to a single Javascript file.
Automatically puts parent classes in an inheritance chain in the correct order
Allows you to specify that a class from another file needs to be included before another file.
When a #= require Classname
directive is encountered, coffeescript-concat will find the file containing that class, preprocess it, and put it above the including class.
Allows you to specifiy that a file needs to be included before another file.
When a #= require <FileName>
or #=require <FileName.coffee>
directive is encountered, coffeescript-concat will find the file, preprocess it, and put it above the including class.
Allows you to refer to external classes that will be available at runtime
When a #= extern Classname
directive is encountered, coffeescript-concat
will assume that class exists.
How does coffeescript-concat find the classes and files? By specifying include directories, you can tell coffeescript where to look. If it can't find the needed file in any of the include directories, it will let you know.
Using npm:
$ npm install -g coffeescript-concat
$ coffeescript-concat -I /my/include/directory -I includeDir2 A.coffee B.coffee -o output.coffee
Using CoffeeScript directly:
$ coffee coffeescript-concat.coffee -I /my/include/directory -I includeDir2 A.coffee B.coffee -o output.coffee
This will preprocess and concatenate This.coffee, That.coffee, and TheOther.coffee along with any classes they require and output the resulting code into output.coffee. If you don't specify an output file (-o), coffeescript-concat prints the output to stdout so that you can easily write it to a file or pipe it to another utility for further processing.
Check out grunt-coffeescript-concat
ZLIB, see the LICENSE file
FAQs
A utility for combining coffeescript files and resolving their dependencies.
The npm package coffeescript-concat receives a total of 51 weekly downloads. As such, coffeescript-concat popularity was classified as not popular.
We found that coffeescript-concat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.