@ibsheet/loader
v1.1.25
Published
Dynamically load support module for IBSheet
Downloads
671
Keywords
Readme
ibsheet-loader
Dynamically load support module for IBSheet
features
- [x] TypeScript 3.0
- [x] TSLint
- [x] standard JS
- [x] Webpack 4
- [x] Standard Version
- [x] ~~AVA~~
- [x] ~~nyc~~
continuous integration
- CircleCI - Continuous Integration and Delivery
- snyk.io - Continuously find and fix vulnerabilities for npm
- ~~Codacy - Automated code reviews & code analytics~~
- ~~codecov - leading, dedicated code coverage~~
documents
installing
Using npm:
$ npm install @ibsheet/loader
Using yarn:
$ yarn add @ibsheet/loader
Using browser:
<script src="https://unpkg.com/@ibsheet/loader/dist/umd/ibsheet-loader.min.js"></script>
example
note: Browser usage (ES3, ES5)
var loader = window.IBSheetLoader
loader.load({
name: 'ibsheet',
baseUrl: '<publicpath>/ibsheet'
}).createSheet(options)
note: Node.js usage (CommonJS)
var loader = require('@ibsheet/loader')
loader.load({
name: 'ibsheet',
baseUrl: '<publicpath>/ibsheet'
}).createSheet(options)
note: ESModule usage (ES6, TypeScript)
import loader from '@ibsheet/loader'
// or import { IBSheetLoader as loader } from '@ibsheet/loader'
loader.load({
name: 'ibsheet',
baseUrl: '<publicpath>/ibsheet'
}).createSheet(options)
development
run webpack-dev-server localhost:3033
yarn serve
build
yarn build
document
- generate:
yarn doc
- publish:
yarn doc:publish