jsfast
Version:
Fastjs(jsfast) is a useful, lightweight JavaScript library for any types of project.
70 lines (50 loc) • 1.98 kB
Markdown
<br/>
<br/>
<div align="center">
<img src="./logoDisplay.svg" width="190" />
</div>
<h3 align="center"><b>Fastjs / Powerful JavaScript Library</b></h3>
<p align="center">
<a href="https://github.com/fastjs-team/core"><img alt="Stars" src="https://img.shields.io/github/stars/fastjs-team?style=flat-square&logo=github&cacheSeconds=600&color=yellow&label=Team%20Stars"></a>
<a href="https://github.com/fastjs-team/core"><img alt="GitHub commit activity (branch)" src="https://img.shields.io/github/commit-activity/w/fastjs-team/core?style=flat-square&logo=github&cacheSeconds=600&label=Commit%20Activity"></a>
<a href="https://www.npmjs.com/package/jsfast"><img alt="Last Version" src="https://img.shields.io/npm/v/jsfast?style=flat-square&logo=npm&cacheSeconds=60&label=Last%20Version&color=C70000"></a>
</p>
## Getting Started
- https://fastjs.dev/
- https://docs.fastjs.dev/
## Description
Fastjs is a useful, lightweight JavaScript library for any types of project.
It is designed to be easy to use. Fastjs can be with any framework or just pure JavaScript.
## Start Using
### Bundler/CommonJS
```bash
npm install jsfast
```
```js
import { dom } from "jsfast"; // esm
const { request } = require("jsfast"); // cjs
```
### CDN (Global)
```html
<script src="https://unpkg.com/jsfast/dist/fastjs.global.js"></script>
<script>
fastjs.dom().text("Hello World!");
</script>
```
### Browser (ES Module)
```html
<script type="module">
import { dom } from "https://unpkg.com/jsfast/dist/fastjs.esm.browser.js";
</script>
```
## Info
- Author: [xiaodong2008](https://github.com/xiaodong2008)
- License: [MIT](https://opensource.org/licenses/MIT)
## Sponsors
<div align="center">
<img src="https://raw.githubusercontent.com/xiaodong2008/sponsors/main/sponsors.wide.svg" />
</div>
## Contributors
<a href="https://github.com/fastjs-team/core/graphs/contributors">
<img src="https://contrib.rocks/image?repo=fastjs-team/core" />
</a>