Skip to content

czero1995/util-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

Introduce

  • Integrate multiple commonly used JavaScript snippets for increased productivity.
  • Introduce code snippets as NPM to improve code maintainability.

Link

NPM: https://www.npmjs.com/package/util-snippets

Docs Link: http://snippets.fancystore.cn/en/guide/

Technology

  • Base TypeScript。
  • Use Jest test code。
  • Use VuePress code docs

Install NPM Package

npm install util-snippets

Use Package

import { xxx } from 'util-snippets'

Local Test

git clone https://github.com/czero1995/util-snippets.git
cd util-snippets
npm install 
npm run tsc:w // The real-time transformation of TypeScript into javascript ot is convenient for debugging
npm link // The equivalent of npm install util-snippets

Used directly in other projects  import { xxx } from 'util-snippets'

Publish NPM Package

npm login
publish

Refer to the article

127 Helpful JavaScript Snippets You Can Learn in 30 Seconds or Less — Part 1 of 6

About

🎉 Helpful JavaScript Snippets NPM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published