Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @cosmic-plus/jsutils with all npm packages installed. Try it out:

var jsutils = require("@cosmic-plus/jsutils")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@cosmic-plus/jsutils v2.0.2

Generic JavaScript utilities that are not related to Stellar

@cosmic-plus/jsutils

Generic JavaScript utilities that are not related to Stellar.

Note: This is an internal library and may be modified in compatibility-breaking ways.

Install

  • Npm npm install @cosmic-plus/jsutils
  • Yarn yarn add @cosmic-plus/jsutils

Then: const { $module, ... } = require("@cosmic-plus/jsutils")

To pick a module: const $module = require("@cosmic-plus/jsutils/es5/$module")

Modules

  • env: Check whether we are into a Node.js or browser environment.
  • mirrorable: Subscribable Arrays.
  • misc: Various unrelated methods.
  • nice: Nicely format numbers.
  • observable: Add event support to Object.
  • projectable: Self-updatable Object properties.

Additional Resources

  • GitHub repository: https://github.com/cosmic-plus/node-jsutils
  • NPM package: https://npmjs.com/@cosmic-plus/jsutils
  • Yarn package: https://yarn.pm/@cosmic-plus/jsutils

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free