
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
auto-import-module
Advanced tools
auto import module
Auto assemble files and directories by using es module. This tool will auto create default index as directory entry file. This tool supports .js .ts .scss .less .stylus and so on.
Install with npm:
$ npm install --save auto-import-module
// js
autoImportModule({
dir: path.join(process.cwd(), 'temp'),
extension: '.js',
});
// ts
autoImportModule({
dir: path.join(process.cwd(), 'temp'),
extension: '.ts',
});
// less
autoImportModule({
dir: path.join(process.cwd(), 'temp'),
extension: '.less',
importModuleOnly: true,
});
// scss
autoImportModule({
dir: path.join(process.cwd(), 'temp'),
extension: '.scss',
importModuleOnly: true,
});
// stylus
autoImportModule({
dir: path.join(process.cwd(), 'temp'),
extension: '.styl',
importModuleOnly: true,
});
| option | introduction |
|---|---|
| dir | set watch root directory |
| extension | set file type, default .js |
| importModuleOnly | set no export, only import module, defaul false |
FAQs
auto import module
The npm package auto-import-module receives a total of 3 weekly downloads. As such, auto-import-module popularity was classified as not popular.
We found that auto-import-module 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.