Socket
Socket
Sign inDemoInstall

@awesomeeng/awesome-types

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @awesomeeng/awesome-types

Collection of type classes for JavaScript.


Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Install size
245 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 07 Feb 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc