
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
make-symlinks
Advanced tools
Create symbolic link (file symlink) using glob
$ npm install make-symlinks
const makeSymlinks = require('make-symlinks');
const patterns = ['/home/guntur/dotfiles/*', '!/home/guntur/dotfiles/.git'];
const path = '/home/guntur/';
makeSymlinks(patterns, path).then(symlinks => {
symlinks.forEach(symlink => {
console.log(symlink.path, '→', symlink.target);
});
});
const symlinks = makeSymlinks.sync(patterns, path);
symlinks.forEach(symlink => {
console.log(symlink.path, '→', symlink.target);
});
patterns, path, [options])<Promise<object>> - Returns a promise for an array object of symlinks patterns and path.patterns, path, [options])<Promise<object>> - Returns an array object of symlinks patterns and path.See all supported globby options.
cwd: <string> (optional) - The source files to resolve from.
process.cwd()force: <boolean> (optional) - Delete symlink if exists.
falsedryRun: <boolean> (optional) - See what would be created symlinks.
falseExample
const options = {
cwd: process.env.HOME,
dryRun: true
};
makeSymlinks('**/*', '/path/symlinks/dest', options).then(symlinks => {
symlinks.forEach(symlink => {
console.log(symlink.path, '→', symlink.target);
});
});
MIT © Guntur Poetra
FAQs
Create symbolic link (file symlink) using glob
The npm package make-symlinks receives a total of 240 weekly downloads. As such, make-symlinks popularity was classified as not popular.
We found that make-symlinks 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.