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

@daeinc/array

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daeinc/array - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

package.json
{
"name": "@daeinc/array",
"version": "0.3.2",
"version": "0.3.3",
"description": "Array utilities",

@@ -5,0 +5,0 @@ "types": "./dist/index.d.ts",

@@ -5,2 +5,53 @@ # @daeinc/array

## Installation
```sh
npm i @daeinc/array
```
then,
```js
import { fillAndMap, ... } from "@daeinc/array";
```
## Functions
```ts
const accumulate: (arr: number[], precision?: number) => number[];
const addToArray: <T>(
arr: T[],
entry: T,
newArrayLen: number,
mode?: "first" | "last"
) => T[];
const fillAndMap: <T>(n: number, fn: (el: null, idx: number) => T) => T[];
const getNonZeroIndices: (arr: number[]) => number[];
const interpolateArray: (
arrStart: number[],
arrTarget: number[],
t: number
) => number[];
const isAllOne: (arr: number[]) => boolean;
const isAllZero: (arr: number[]) => boolean;
const isAnyOne: (arr: number[]) => boolean;
const isAnyZero: (arr: number[]) => boolean;
const unwrapArrayOfObjects: (
arr: {
[key: string]: any;
}[],
objKey: string
) => any[];
//# sourceMappingURL=index.d.ts.map
```
## To dos

@@ -7,0 +58,0 @@

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