npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

anju-js

v3.0.0

Published

AnjuJS is a lightweight and highly efficient encryption library designed to ensure secure password management without compromising performance. Its flexible architecture allows for customizable security parameters, including salt usage, adaptive encryptio

Downloads

60

Readme

AnjuJS

AnjuJS is a lightweight and efficient library for password encryption. It allows developers to create customizable encryption systems with salt, preferences, and a security key. Designed for fast, secure encryption, AnjuJS is easy to implement and provides a flexible solution for password management.

Features

  • Customizable Encryption: Set your own encryption preferences, salt, and security key.
  • Fast & Secure: Optimized for performance while maintaining the highest security standards.
  • Flexible Integration: Simple API that can be seamlessly integrated into any project.
  • Environment Configuration: Easily manage settings through environment variables for better security and scalability.

Installation

To install AnjuJS, you can use npm: npm install anjujs

Usage

Example: Encryption and Decryption

Here’s an example of how to use AnjuJS for encrypting and decrypting a message:

const anju = require("anjujs"); require('dotenv').config();

// Configuration const config = { preference: process.env.PREFERENCE, rounds: 32, salt: process.env.SALT, securityKey: process.env.SECURITY_KEY, };

// Message to encrypt const message = "EncryptedMessage";

// Encrypt the message const encryptedMessage = anju.encrypt(config, message, process.env.SECURITY_KEY); console.log("The encrypted message is: " + encryptedMessage);

// Decrypt the message const decryptedMessage = anju.decrypt(config, encryptedMessage, process.env.SECURITY_KEY); console.log("The decrypted message is: " + decryptedMessage);

How It Works:

  • Configuration: The config object allows you to define encryption settings such as preference, salt, rounds, and securityKey—which can be safely loaded from your environment variables (using the dotenv package for example).
  • encrypt(config, message, key): Encrypts the provided message using the configuration and a security key.
  • decrypt(config, encryptedMessage, key): Decrypts the previously encrypted message using the same configuration and security key.

Make sure to set up your .env file with the necessary environment variables like PREFERENCE, SALT, and SECURITY_KEY.

Contributing

We welcome contributions from the community! To contribute to AnjuJS, please follow these steps:

  • Fork the repository.
  • Create a new branch (git checkout -b feature-branch).
  • Commit your changes (git commit -am 'Add new feature').
  • Push to the branch (git push origin feature-branch).
  • Create a new pull request.

Please feel free to open an issue if you encounter any bugs, need help, or have suggestions for new features.