JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q27047F
  • License MIT

JS Helper Functions

Package Exports

  • @webframer/js
  • @webframer/js/_envs.js
  • @webframer/js/array.js
  • @webframer/js/constants.js
  • @webframer/js/file.js
  • @webframer/js/index.js
  • @webframer/js/keyboard.js
  • @webframer/js/number.js
  • @webframer/js/object.js
  • @webframer/js/time.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@webframer/js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Javascript Helper Functions

This package contains commonly used js functions, to be used as functional utility helpers within your Javascript project.

It's equivalent to a Facade for JS utilities.

Requirement

  • ES6 compatible project, or must set this package to be transpiled.

Usage

1. Initial Setup

import { current } from '@webframer/js'

current.log = require('chalk') // use colored console.log for Node.js
current.Storage = require('node-persist') // set localStorage for Node.js