1.0.9-4 • Published 3 years ago

index-system v1.0.9-4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

features: copy, type judgment, check rules

import { copy } from "./src/utils/copy";
/**
 * @param {any} value A JavaScript value, usually an object or array, to be converted.
 */
copy({})
copy.deepcopy({})


import * as reg from "./src/regular";
reg.isAlphabets
reg.isChinese
reg.isData
reg.isDomainName
reg.isEmail
reg.isId
reg.isInternetUrl
reg.isIp
reg.isLowerCase
reg.isPhoneNumer
reg.isUpperCase
reg.isXml

import { readExcelToJSON } from "./src/excel";
/**
 * @param {string} file
 * @param {string} sheetName
 * @returns {boolean}
 */
readExcelToJSON


import { whatType } from './src/utils/type'
/**
 * @param {any} value
 * @returns { string } "number" | "string" | "array" | "object" | "set" | "map" | "regexp" | "boolean" | "symbol" | "function" | "Undefined" | "null" | "htmldocument" | "htmlcollection"
 */
whatType({}) 
1.0.9-4

3 years ago

1.0.9-3

3 years ago

1.0.9-2

3 years ago

1.0.9-1

3 years ago

1.0.9

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago