Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Node utility to list symlinks made by npm link
, yarn link
, or fs.link
npm install symlinked
Local install as above is best practice if you are using in a shared codebase because then all developers will use the same version. CLI can be used locally via npx or via npm scripts. npm install
has a --global
flag you can add if you prefer global use. Yarn can be used via yarn add
and yarn global add
respectively if you prefer yarn.
Usage: symlinked <command> [<path>]
Finds all linked package names of an npm package.
Commands:
names Get linked package names
paths Get linked package paths
roots Get linked package roots
links Get linked package links
Options:
-h, --help Display this usage info
require
var symlinked = require("symlinked")
symlinked.names(dir: ".")
get array of linked package namessymlinked.paths(dir: ".")
get array of linked package pathssymlinked.roots(dir: ".")
get array of linked package rootssymlinked.links(dir: ".")
get array of linked package linkssymlinked.is(path)
test if path exists and is linkedsymlinked.read(path)
read linksaid
dependency linked on both endssymlinked.names()
// [ 'said' ]
symlinked.paths()
// [ '/Users/jdoe/symlinked/node_modules/said' ]
symlinked.roots()
// [ '/Users/jdoe/symlinked/node_modules/said/node_modules' ]
symlinked.links()
// [ '/Users/said' ]
resolve.modules
configuration to resolve dependencies of linked dependenciesmodule.exports = {
resolve: {
modules: ["node_modules"].concat(symlinked.roots())
}
}
FAQs
Node utility to list packages that are npm linked
We found that symlinked 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.