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

rc-js-util

Package Overview
Dependencies
Maintainers
0
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-js-util

A collection of strongly typed JS utilities.

  • 9.0.9-alpha.63
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
352
increased by388.89%
Maintainers
0
Weekly downloads
 
Created
Source

rc-js-util

A collection of strongly typed JS utilities.

Installation

Using npm:

$ npm i --save rc-js-util

Building the C++

To see the required version, see the Echo versions step of CI. Recent versions of all tools should build.

  • install emscripten (and use their env utility to set required env vars)
  • install cmake
  • install ninja build

Configuration

The global variable DEBUG_MODE must be set for js-util to function correctly. Setting DEBUG_MODE to true enables debug assertions. In production builds it is recommended to use a tool such as uglify-js' dead code removal to strip out all of these checks.

For a full list of debug flags, see IStandardDebugFlags in the API reference.

Usage

Utility functions are provided as both stand alone and grouped by category, e.g. _Array.compactMap and arrayCompactMap are the same.

A collection of standard debug utilities such as assert is provided in _Debug. More specialized cases are exported separately, these are prefixed with Debug. All debug checks should be hidden behind a DEBUG_MODE predicate.

Where an assertion is required in production code these should make use of _Production.

Debugging

To Debug the C++ in the browser, you will need to install DevTools DWARF support.

Documentation

See API reference for the latest API docs, for previous versions consult the documentation bundled in the package.

Keywords

FAQs

Package last updated on 07 Oct 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