New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@jianghe/array-queue

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jianghe/array-queue

数据结构-队列(数组)

beta
Source
npmnpm
Version
1.0.2-0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

数组实现循环队列

用法

import { ERROR, OK, Queue } from '@jianghe/array-queue';

// 创建长度为5的队列
const queue = new Queue(5);
// 入队
queue.enqueue('a');
// 出队
const res = queue.dequeue();
// 清空队列
queue.cleanQueue();

Keywords

queue

FAQs

Package last updated on 24 Jan 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