Sugar.js
Like syntactic sugar, but is library
The main goal of the libsugar project is to eliminate the differences in the standard library between different languages and the secondary goal is to provide many sweet tools
Install
npm
npm i libsugar
yarn
yarn add libsugar
pnpm
pnpm i libsugar
umd
<script src="https://cdn.jsdelivr.net/npm/libsugar/dist/sugar.js"></script>
umd no pack
<script src="https://cdn.jsdelivr.net/npm/libsugar@2.10.0/umd/path_to_module.js"></script>
esm
<script type="module" src="https://cdn.jsdelivr.net/npm/libsugar/sugar.mjs"></script>
esm no pack
<script type="module" src="https://cdn.jsdelivr.net/npm/libsugar/esm/path_to_module.mjs"></script>
import
import { } from 'https://cdn.jsdelivr.net/npm/libsugar/esm/index.mjs'
deno
import { } from 'https://cdn.jsdelivr.net/npm/libsugar/src/index.ts'