
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.
@backtrack/preset-node
Advanced tools
backtrack preset that sets up a node project.
jest with Wallaby.js, CircleCI and AppVeyoreslint, and prettierpackage.json scriptsgit-pre-push, git-pre-commit and prepublish hooksdevelopment via nodemonbabel with babel-preset-envtypescriptnpm install --save-dev @backtrack/preset-node
// backtrack.config.js
'use strict';
module.exports = {
// see settings below
presets: [
[
'@backtrack/node',
{
mode: 'module',
syntax: 'node',
},
],
],
};
'use strict';
module.exports = {
presets: [
[
'@backtrack/node',
{
/**
* Project mode type
*
* Required
*
* Available modes:
* module - npm module
* app - node application
*
*/
mode: 'app',
/**
* Javascript syntax
*
* Required
*
* Available syntax:
* node: Target package.json's engines.node (no compilation)
*
* babel: Use babel to provide latest javascript features
* - app requirements:
* - npm install --save source-map-support core-js@3
*
* typescript: Use Typescript
* - requirements
* - npm install --save-dev typescript
* - app requirements:
* - npm install --save source-map-support core-js@3
*/
syntax: 'typescript',
/**
* Specify node version
*
* module default: '>=14.15.0'
* app default: '^16.13.0'
*/
nodeVersion: '^18.0.0',
/**
* Enable/disable Windows-only features
*
* module default: true
* app default: false
*/
windows: false,
},
],
],
};
FAQs
backtrack preset to bootstrap a node project
The npm package @backtrack/preset-node receives a total of 161 weekly downloads. As such, @backtrack/preset-node popularity was classified as not popular.
We found that @backtrack/preset-node 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.