Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 349 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 349 Bytes

shinco

how to use

es module

import { sum } from '@harvey0379/shinco'
console.log(sum(1, 2))

commonjs

const { sum } = require('@harvey0379/shinco')
console.log(sum(1, 2))

browser

<script src="node_modules/@harvey0379/shinco/lib/bundle.browser.js"></script> <script> console.log(shinco.sum(1, 2)) </script>