{"repo":"yanhaijing/jslib-base","free":true,"listed":false,"github":"https://github.com/yanhaijing/jslib-base","clone":"git clone https://github.com/yanhaijing/jslib-base.git","description":"A modern JavaScript|Typescript library scaffolding, modularity, purity & extras","language":"JavaScript","stars":953,"topics":["rollup","js-libs","typescript","jsmini","typescript-libs","js-scaffold","boilerplate","template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"jslib-base English 简体中文 The best JS TS third-party library scaffold, quickly setup the basic framework of a JS TS library in 10 seconds. Libraries based on jslib-base can be shared on the jsmini platform. :star: Features - Interactive CLI for project initialization - Upgrade functionality – Easily upgrade old libraries with one command - Supports both JavaScript and TypeScript - Build & Packaging Solutions - TypeScript + Babel + Rollup - Automatic third-party dependency injection (supports tree shaking) - Multi-Environment Compatibility - Supports native browser script usage - Provides UMD and ESM modules, compatible with Webpack, Vite, and other ecosystems - Adapts to both old and new Node.js module systems (CommonJS + ESM) - Code Style & Linting - ESLint + Prettier + Husky + Lint-Staged - Unit Testing Suite - Mocha + Expect.js + Istanbul + NYC + Coveralls - Commit Linting - Commitlint + Commitizen - GitHub Actions - CI + Release - Local Development Server - http-server :rocket: User Guide To create a new project, it is recommended to use Node.js version 18 or higher. To update the project, just execute the following command in the project root directory. For old projects, you can't directly execute the update command, you can first initialize a config file. Directory Overview Common command scripts Contribution Guide If you only want to modify the library code generated by the CLI, you can directly edit the template code, which is simpler. After merging, I will migrate the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yanhaijing","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yanhaijing/jslib-base/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}