README
@restful/core
@restful core library
Install
npm install @restful/core
Import
import * as Lib from '@restful/core'
Lib() // returns "hello world"
Require
const Lib = require('@restful/core')
Lib() // returns "hello world"
Browser
<script src="https://unpkg.com/@restful/core@latest/dist/index.umd.js">// UMD bundle</script>
<script type="module" src="https://unpkg.com/@restful/core@latest/dist/index.module.mjs">// ESM bundle</script>
<script type="module" src="https://unpkg.com/@restful/core@latest/dist/index.modern.mjs">// ESM for modern browsers</script>
Author: Ahmad Nassri • Twitter: @AhmadNassri