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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@awesomeeng/awesome-types

v1.0.1

Published

Collection of type classes for JavaScript.

Downloads

9

Readme

awesome-types

Collection of type classes for JavaScript.

AwesomeTypes

Javascript data structure classes for Enterprise Ready nodejs applications

Disclaimer

These are data structure classes largerly for use within the suite of applications for The Awesome Engineering Company. You are free to use it for your own purposes (MIT License), but keep in mind that we are only supporting it in relation to needs of our other applications. Thanks!

Installation

npm install --save @awesomeeng/awesome-types

Usage

Require it, then make calls against it. See below for documentation.

const AwesomeTypes = require("@awesomeeng/awesome-types");

...
let linkedlist = new AwesomeTypes.collections.LinkedList();
linkedlist.push("something 1");
linkedlist.unshift("something 2");
linkedlist.append("something 3");
linkedlist.prepend("something 4");
assert.equal(linkedlist.length,4);
assert.equal(linkedlist.first,"Something 4");
assert.equal(linkedlist.last,"Something 3");
assert.deepStrictEqual([...linkedlist],["something 4","something 2","something 1","something 3"]);
...

Data structures currently implemented

AwesomeTypes.collections

Standard data structures we all know and love.

  • AwesomeTypes.collections.LinkedList
  • AwesomeTypes.collections.Queue
  • AwesomeTypes.collections.Stack
  • AwesomeTypes.collections.SortedList
  • AwesomeTypes.collections.CircularBuffer

AwesomeTypes.lockables

Standard data types built ontop of SharedArrayBuffer so they can be passed to workers, with additional support for Atomic locking.

  • AwesomeTypes.collections.LockableBuffer
  • AwesomeTypes.collections.LockableCircularBuffer

AwesomeTypes.processing

Non-standard dataq types specifically for dealing with syncronous and asyncronous javascript processing.

  • AwesomeTypes.processing.TimerPool

Documentation

Please refer to the API Documentation for details.

The Awesome Engineering Company

AwesomeLog is written and maintained by The Awesome Engineering Company. We belive in building clean, configurable, creative software for engineers and architects and customers.

To learn more about The Awesome Engineering Company and our suite of products, visit us on the web at https://awesomeeng.com.

Support and Help

License

AwesomeLog is released under the MIT License. Please read the LICENSE file for details.