JSPM

@vimlet/commons-utils

0.0.7
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q48647F
  • License MIT

Json and string utils

Package Exports

  • @vimlet/commons-utils
  • @vimlet/commons-utils/index.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 (@vimlet/commons-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Utils

Json and string utils.

Installation

npm install @vimlet/commons-utils

It will be also installed as a module within @vimlet/commons

Usage

json.deepMerge(args)

Merge as many jsons as args.

string.asyncReplace(string, regex, replacer)

String replace asynchronously.

  • string: string itself.
  • regex: regex expresion.
  • replacer: function.

License

This project is under MIT License. See LICENSE for details.