0.2.2-alpha.0 • Published 2 years ago
xtt-utils v0.2.2-alpha.0
xtt-utils
A JavaScript utility library.
Internationalization
This English document was translated with the help of GitHub Copilot.
Installation
npm i xtt-utils
Usage
Browser
<script src="../xtt-utils/dist/index.min.js"></script>
<!-- After importing, the xttUtils global variable will be registered on the window -->
<script>
console.log(xttUtils.random());
</script>
Module
// import the entire library
import xttUtils from "xtt-utils";
xttUtils.random();
// import specific functions
import { random } from "xtt-utils"; // Recommended
// or
import random from "xtt-utils/random";
random();
CommonJS
// import the entire library
const xttUtils = require("xtt-utils");
xttUtils.random();
// import specific functions
const { random } = require("xtt-utils");
// or
const random = require("xtt-utils/random");
random();
Documentation
You can view the md documents in the docs folder here
Alternatively,you can visit the xtt-utils documentation website
0.2.2-alpha.0
2 years ago
0.2.1
2 years ago
0.2.1-alpha.0
2 years ago
0.2.1-alpha.1
2 years ago
0.1.1-beta.0
2 years ago
0.1.2
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.1.1-alpha.1
2 years ago
0.1.2-alpha.2
2 years ago
0.1.3-alpha.0
2 years ago
0.1.3-alpha.1
2 years ago
0.1.3
2 years ago
0.1.2-alpha.1
2 years ago
0.1.0
2 years ago
0.0.2
2 years ago
0.0.2-alpha.0
2 years ago
0.0.1
2 years ago
0.0.1-beta.1
2 years ago
0.0.1-beta.0
2 years ago