Skip to content

Latest commit

 

History

History
57 lines (49 loc) · 2.34 KB

README.md

File metadata and controls

57 lines (49 loc) · 2.34 KB

Sugar.js

Node.js CI NPM MIT Github ApiDoc

JS JS

Like syntactic sugar, but is library

Documentation

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/[email protected]/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'