@ibsheet/loader
v1.3.4
Published
Dynamically load support module for IBSheet
Downloads
1,343
Keywords
Readme
ibsheet-loader
Dynamically load support module for IBSheet
features
- [x] TypeScript 5.8
- [x] ESLint
- [x] standard JS
- [x] Webpack 5
- [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/loaderUsing yarn:
yarn add @ibsheet/loaderUsing 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 servebuild
yarn builddocument
- generate:
yarn doc - publish:
yarn doc:publish
