
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
jsmake is a task tool which runs user-defined tasks declared in makefile.js.
In other words, if you execute some commands or code to accomplish some tasks on your codebase, jsmake is the right tool to do it.
With the help of jsmake, project folder oriented tasks such as building sources, refactoring configuration files, deploying project on cloud can be done easily.
As a task tool it offers,
jsmake is not a substitution for "build tools" like gulp.js. Apart from them, jsmake only concentrates on executing shell commands or user directives coded in JavaScript. So there are no pipelines, streams or plugins to be added as a dependency in package.json.
Instead, jsmake is a complementary product for build tools. For example, it can interoperate with tools like gulp.js.
Execute npm install jsmake -g to install jsmake on your system.
After installing jsmake, makefile.js needs to be created at the root of your codebase.
A sample makefile.js look like:
jsmake.desc('Says hi to someone.');
jsmake.task('hello', function (argv) {
console.log('hi ' + argv.name);
});
Other samples can be found in samples/ folder, such as:
Running jsmake command will execute the task named default. If there is no task defined as default, jsmake will display the help message.
Help content consists of usage of jsmake, the list of declared tasks and their parameters and descriptions. These information also can be displayed with jsmake -h command.
Help output of jsmake's own makefile.js is shown below:
$ jsmake -h
Usage: jsmake [command] [parameters]
Parameters:
--makefile FILE, -f Load tasks from FILE
--tasks, -t Lists defined tasks
--verbosity Sets verbosity of log messages [debug, warn, info, error]
--version, -v Displays the jsmake version
--help, -h, -? Displays this help message
Tasks Description
------------------------------- -----------------------------------
bump Bumps the package version for next release.
Parameters:
--type Increment type [major, minor, patch, premajor, preminor, prepatch or prerelease]
publish Publishes package to npm.
deps Reinstalls dependencies from npm.
build Builds the source code.
See GitHub Projects for more.
Apache 2.0, for further details, please see LICENSE file
See contributors.md
It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.
FAQs
JavaScript task tool, similar to Jake, Make or Rake
The npm package jsmake receives a total of 31 weekly downloads. As such, jsmake popularity was classified as not popular.
We found that jsmake 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.