voxelcloud-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

voxelcloud-utils

NPM package NPM downloads MIT License Test workflow Coverage Status

collection of multiple utility function like lodash, also includes HTTP request library voxios based on axios.

docs website click here

Features

util

  • [x] cloneDeep
  • [x] isEmpty
  • [x] isPlainObject
  • [x] throttle
  • [x] debounce
  • [x] groupBy
  • [x] uuid

data

  • [x] Enum
  • [x] storage
  • [x] Session

browser

  • [x] copyToClipboard

request

  • [x] Voxios

Usage

  • Install
yarn add voxelcloud-utils
  • Usage
import { cloneDeep } from 'voxelcloud-utils';

console.log(cloneDeep({ name: 'voxelcloud' }));

Development

  • Dev
yarn install
npm run dev
  • Code Commit
npm run commit

Release

  1. Create Standard Version
# 注意以下命令需选择:
npm run release # 默认补丁版本 增加0.0.1
npm run release -- --first-release # 首次发布
npm run release -- --prerelease # 预发布 This will tag your version as: 1.0.1-0
npm run release -- --prerelease alpha # This will tag the version as: 1.0.1-alpha.0
npm run release -- --release-as major # 主版本变更
npm run release -- --release-as minor # 次级版本变更
npm run release -- --release-as patch # 补丁版本变更
npm run release -- --release-as 1.1.0 # 变更指定版本
  1. Build
npm run build
  1. Npm Publish
git push --follow-tags origin [branchName] # branchName 分支名
npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i voxelcloud-utils

Weekly Downloads

0

Version

0.0.5

License

none

Unpacked Size

79.4 kB

Total Files

26

Last publish

Collaborators

  • harrychen0506