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

@yomguithereal/helpers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yomguithereal/helpers

Miscellaneous helper functions.

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status

Yomguithereal's helpers

Miscellaneous helper functions.

Installation

npm install @yomguithereal/helpers

Usage

  • #.extend

#.extend

Pushes multiple values to the given array.

It is faster than doing array.push.apply(array, values) and works by first mutating the array's length and then setting the new indices (benchmark proved it is faster than a loop of pushes).

import extend from '@yomguithereal/helpers/extend';

const a = [1, 2, 3];
extend(a, [4, 5, 6]);

a
>>> [1, 2, 3, 4, 5, 6]

FAQs

Package last updated on 12 Oct 2020

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