New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

doubly

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doubly

Doubly linked list in TypeScript

  • 0.3.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-52.17%
Maintainers
1
Weekly downloads
 
Created
Source

Name

Description

Installation

npm i --save dualy

Usage

Supports both ESM and CommonJS
// esm
import Doubly from 'doubly`
// commonjs
const Doubly = require('doubly').default

Methods

at(index: number)
const list = new Doubly()
list.push(100)
list.at(0) // 100
list.at(-1) // LinklyError: At negative index not supported
concat(list: Doubly)
// push
const list = new Linkly()
list.push(100)
list.push(200)
list.push(300)

const list2 = new Linkly()
list.push(400)
list.push(500)
list.push(600)

const list3 = list.concat()

... TODO

License

MIT

Keywords

FAQs

Package last updated on 14 Nov 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc