Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
A tool that attempts install 3rd party dependencies so you don't have to!
There is a lot of duplicated work/code going into native node modules. This work could be entirely mitigated if node modules used OS packaging systems which have, for the most part, already built these dependencies.
The primary entrypoint for depie
is intended to be the
package.json
file. This lets you install dependencies prior to
needing them. For example:
{
"name": "example",
"version": "1.0.0",
"description": "a test module for depie",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"install": "echo 'var d = require(\"depie\"); d.install([\"libsodium\"])' | node"
},
"author": "",
"license": "MIT",
"dependencies": {
"depie": "^0.1.0"
}
}
The above would install depie using npm then libsodium using the operating systems native package manager.
Now you can build your native module without needing to repackage and rebuild all the source code for libsodium!
Packages are aliased to allow for a single entrypoint across all systems. This requires work, but ultimately, it will be less work/time than is spent downloading/compiling the dependent code for every install of your native module!
Here is an example of the alias for libsodium
on Ubuntu:
"libsodium": "libsodium-dev"
FAQs
Package for managing external dependencies on various systems
We found that depie 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.