
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
sindre-module-paths
Advanced tools
Sindre's modules aim for Node.js, not the browser. Your friend probably tells you that you should config your tools such as webpack as follows:
{
test: /\.js$/,
exclude: /node_modules/,
use: 'babel-loader',
}
You want to build your app fast so you don't want to transpile you node_modules and you assume they are published as ES5. The minute you install a module that's ES5 you freak out. You tell yourself: I'm not gonna install Sindre's module in my webapp any more :disappointed:. But sindre has a million modules!!. A lot of them might be in your transitive deps and you have to use npm ls to find out the path and manually add it to you webpack conf. If you are not using yarn or npm-shrinkwrap, the structure of your node_modules might change. You are pull your hair :haircut:. You don't want to suffer any more so you open an issue. But did you know that he's tired of getting issues like this on all his repos? You take a step back and think: Is it webpack's problem? I don't think so. This tiny module comes to the rescue.
const path = require('path')
const sindreModulePaths = require('sindre-module-paths')
// Then in some async function
const es6ModulePaths = await sindreModulePaths();
{
test: /\.js$/,
include: [
...es6ModulePaths,
path.resolve(__dirname, 'src'),
],
use: 'babel-loader',
}
It will include all Sindre's modules in your dependency trees. Never manually supply the paths any more. No struggling. Life comes back to normal.
npm i -g sindre-module-paths
sindre-module-paths
Use the command to inspect your project. This very own module contains more than 50 Sindre's modules (including devDependencies).
FAQs
Get all paths of sindre's modules in your node_modules folder
The npm package sindre-module-paths receives a total of 5 weekly downloads. As such, sindre-module-paths popularity was classified as not popular.
We found that sindre-module-paths 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
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.