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

@bigbinary/neeto-cist

Package Overview
Dependencies
Maintainers
13
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigbinary/neeto-cist

A package encapsulating common utility functions used across neeto products

  • 1.0.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3K
increased by20.02%
Maintainers
13
Weekly downloads
 
Created
Source

neeto-cist

BuildStatus

A collection of common utility functions used across all our neeto products. Try out the utility functions live at neetoCommons REPL.

Contents

Installation

Install from npm:

yarn add @bigbinary/neeto-cist@latest

Install the peer dependencies:

yarn add ramda

Usage

You can import all functions from @bigbinary/neeto-cist.

import { slugify } from "@bigbinary/neeto-cist";

Exports several general utility functions that are used throughout neeto products. The functions are designed in a similar fashion as ramda so that they can easily interoperate with each other.

Pure functions were designed to be fail fast. If you call findById(10, null), it will throw error saying that it can't iterate through null.

But for most such pure functions, there is a failsafe alternative available. The failsafe alternative function will be prefixed with _. Example: _findById(10, null) returns null, _findById(10, undefined) returns undefined and _findById(10, [{ id: 10 }]) returns { id: 10 }.

List of Pure Functions

Name

Development

FAQs

Package last updated on 10 Jan 2024

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