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

js-datawave

v1.0.2

Published

A npm package learning project, includes javascript data structures.

Readme

Getting started

Installation

npm i js-datawave

JavaScript Data Structures

The js-datawave package is a comprehensive collection of common data structures implemented in JavaScript. It provides a set of classes and methods that allow developers to easily work with and manipulate data structures in their JavaScript applications.

Features

  • LinkedList: An implementation of a singly linked list that allows efficient insertion, removal, and traversal of elements.

    The LinkedList package is a versatile implementation of a singly linked list data structure in JavaScript. It provides a flexible and efficient way to store and manipulate a collection of elements. This package offers a range of features to manage and traverse linked lists, making it an essential tool for developers working with data structures and algorithms.

    LinkedList Key Features

    • Node Management: Easily add nodes to the tail of the linked list, remove nodes by value, and retrieve node values by index.

    • Traversal: Traverse the linked list and perform operations on each node, such as printing node values or searching for specific values. -- Dynamic Size: Track the length of the linked list to efficiently manage the size of the collection.

    • Flexibility: Utilize various methods to insert nodes at the head, specific positions, or remove nodes by index.

    • Additional Functionality: Perform operations like reversing the linked list, concatenating multiple linked lists, and more.

Usage

import { LinkedList } from "js-datawave";
// Create a new instance of LinkedList
const linkedList = new LinkedList<number>();

// Add values to the tail of the linked list
linkedList.addToTail(1);
linkedList.addToTail(2);
linkedList.addToTail(3);

// Print the values of each node in the linked list
linkedList.print(); // Output: 1, 2, 3

// Remove a node with the specified value from the linked list
const removed = linkedList.remove(2);

if (removed) {
  console.log("Node with value 2 has been removed.");
}

// Get the length of the linked list
const length = linkedList.getLength();
console.log(`Length of the linked list: ${length}`); // Output: Length of the linked list: 2

🤝 Contributing

Contributions, issues, and feature requests are welcome!Feel free to check issues page.

📝 License

Copyright © 2022 S Aziz Khan. This project is MIT licensed.