JSPM

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

A commonly used JavaScript-related toolset, including common null checking, judgment, etc., which can be used in native JavaScript, vue, react and other frameworks, and supports on-demand references

Package Exports

  • jia-tools
  • jia-tools/dist/cjs/index.js
  • jia-tools/dist/es/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 (jia-tools) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Javascript Tools: jia-tools

!important: Under active development, possible breaking updates

中文文档

jia-tools is A commonly used JavaScript-related toolset, including common null checking, judgment, etc., which can be used in native JavaScript, vue, react and other frameworks, and supports on-demand references

Installation Guide

Through the npm package manager, you can easily integrate jia-tools into your project. Simply run the following command in the root directory of your project to complete the installation:

# npm
npm install --save jia-tools
# yarn
yarn add jia-tools
# pnpm
pnpm add --save jia-tools

Functions

  • filterBlankValue
  • findBy
  • findIndexAll
  • findPath
  • formateMoney
  • getType
  • isBlank
  • isNull
  • isNumber
  • isTrimNull
  • isType
  • string2Json

Feature

  • oneOf
  • allOf
  • someOf

Change logs