Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@nrwl/js
Advanced tools
The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.
@nrwl/js is a package from the Nx suite of tools that provides utilities for building JavaScript libraries and applications. It is designed to work seamlessly within the Nx workspace, offering features like project scaffolding, dependency management, and build optimization.
Project Scaffolding
This command generates a new JavaScript library within an Nx workspace. It sets up the necessary configuration files and directory structure to get started quickly.
nx generate @nrwl/js:lib my-lib
Dependency Management
This command visualizes the dependency graph of the projects within the Nx workspace. It helps in understanding how different projects are interconnected.
nx dep-graph
Build Optimization
This command builds the specified JavaScript library, applying various optimizations to ensure efficient output. It leverages Nx's caching and incremental build features to speed up the build process.
nx build my-lib
Lerna is a tool for managing JavaScript projects with multiple packages. It optimizes the workflow around managing multi-package repositories with git and npm. Compared to @nrwl/js, Lerna is more focused on managing multiple packages rather than providing a full suite of development tools.
Turborepo is a high-performance build system for JavaScript and TypeScript codebases. It offers features like remote caching, parallel execution, and incremental builds. While @nrwl/js is part of the Nx ecosystem and integrates deeply with it, Turborepo is a standalone tool that can be integrated into various workflows.
@nrwl/js has been renamed to @nx/js. Please use that instead.
@nrwl/js will no longer be published in the future.
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
FAQs
The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.
The npm package @nrwl/js receives a total of 1,060,790 weekly downloads. As such, @nrwl/js popularity was classified as popular.
We found that @nrwl/js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.