
Security News
Federal Audit Finds NIST Wasted Funds With No Plan to Clear NVD Backlog
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.
A universal, modern, and extendable logging library for JavaScript and TypeScript.

Please visit our official docs at adzejs.com.

Photo from Wikipedia
Adze - a cutting tool that ... is used chiefly for shaping wood.
(Pronounced "Ads") Adze was chosen as a name for this library to maintain solidarity with the logging puns and to emphasize that this library is a tool for shaping the logs of your application.
Adze is UNIVERSAL, meaning it can run in any JS runtime (node, bun, deno, browser) without any special considerations.
Compared to existing Javascript logging libraries, Adze sets itself apart because it is universal, meaning it can run in both server and browser environments with zero config. Other libraries, such as Winston or Bunyan only support server environments. Libraries like Pino and Log4JS support both environments, but it either requires some configuration or it only provides you with a very limited feature set. None of them directly support Deno or Bun.
Javascript frameworks have been shifting to server-side rendering (SSR) and to micro-frontend style architectures. Both of these architecture approaches present unique challenges with logging in a production-ready environment. Because Adze is universal by nature, you can write your logs the same way throughout your application and it will just work.
Aside from universalism, Adze also offers many other compelling features:

This preview was generated from the same code executed in both the browser (left) and the node (right) environments.
As stated above, Adze offers an easy to use, chainable API. To create a log you simply chain together an Adze log instance with a series of modifiers and then end with a terminator. Here's an example of creating a log with a namespace:
import adze from 'adze';
adze.namespace('example').log('Example log');
The output of this would look like the following:

You can install Adze from NPM using the following command:
# npm
npm install -S adze
# pnpm
pnpm add adze
| Dependency | Supported Versions | Notes |
|---|---|---|
| node | >= 18.19.x | When running Adze in a Node environment. |
| bun | >= 1.1.26 | When running Adze in a Bun environment. |
| deno | >= 1.46.3 | When running Adze in a Deno environment. |
| typescript | >= 5.5.2 | When using Adze with TypeScript |
Adze is built to be used with TypeScript and we highly encourage using it in this way.
When building your project with TypeScript, you need to make sure you use the "DOM" lib because Adze supports both the web browser and Node. Also, to support the dependencies of Adze, you'll need to add "esModuleInterop": true to your tsconfig as well.
For more information about configuring TypeScript, go to https://www.typescriptlang.org/docs/handbook/tsconfig-json.html.
{
"compilerOptions": {
// ...your other options
"lib": ["DOM"],
"esModuleInterop": true
}
}
Adze comes bundled with a few different ways of accessing it. Here are some examples:
const { adze } = require('adze'); // Or alternatively `const adze = require('adze').adze;`
adze.log('Hello World!');
import adze from 'adze';
adze.log('Hello World!');
Please visit our official docs at adzejs.com.
FAQs
A universal, modern, and extendable logging library for JavaScript and TypeScript.
The npm package adze receives a total of 20,807 weekly downloads. As such, adze popularity was classified as popular.
We found that adze demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.