1.0.9-4 • Published 2 years ago

index-system v1.0.9-4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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

2 years ago

1.0.9-3

2 years ago

1.0.9-2

2 years ago

1.0.9-1

2 years ago

1.0.9

2 years ago

1.0.10

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago