JSPM

@awesomeeng/awesome-types

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q30198F
  • License MIT

Collection of type classes for JavaScript.

Package Exports

  • @awesomeeng/awesome-types

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@awesomeeng/awesome-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.