![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
data-structures-ts
Advanced tools
A collection of data structures, built using TypeScript, built in my spare time for no reason other than fun. Why did I release it as an npm package? Again, just for fun.
This collection will likely never contain all the common data structures, I'll just add them one at a time when I'm bored.
Don't try to use this in anything even remotely resembling production. For testing or fun, sure, knock yourself out. Otherwise, use the stuff that already exists that is far better.
If you really really really want to use this, then feel free.
Installation:
$ npm install data-structures-ts
Code usage:
import { LinkedList } from 'data-structures-ts';
const list = new LinkedList();
list.add('Hello');
// ...
This project has documentation just in case you decide, against all my warnings, to use this anyway for some weird reason, you're welcome to check out the project's Documentation.
This project uses ts-node for development and ts-jest for testing.
To run tests, use npm test
. Output will display test results as well as test coverage.
This software uses the MIT license. See LICENSE for details.
FAQs
A collection of data structures, built using TypeScript.
The npm package data-structures-ts receives a total of 2 weekly downloads. As such, data-structures-ts popularity was classified as not popular.
We found that data-structures-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.