Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gutil

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gutil

GUtil

  • 1.4.1
  • npm
  • Socket score

Version published
Weekly downloads
4.5K
decreased by-22.96%
Maintainers
1
Weekly downloads
 
Created
Source

gutil

General Util methods

  • add : insert value in an array

  • all

  • and

  • Assert

  • by

  • byNot

  • concat

  • each

  • filter

  • get

  • has

  • log

  • oneBy

  • requireReload

  • sort : sort array elements

  • unique

  • walk

  • string : utils functions for String

  • replace2 : scan only one time the text and replace many txt occurences during this scan sample :

// given
var txt = "simple text";
var oldValues = ["simple","text"];
var newValues = ["hello","world"];
// when
var result = replace2(txt, oldValues, newValues);
// txt == "hello world";

FAQs

Package last updated on 27 Jul 2014

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