Options
All
  • Public
  • Public/Protected
  • All
Menu

@ibsheet/loader

ibsheet-loader

Codacy Badge CircleCI npm version vulnerabilities code style: prettier Conventional Commits License: MIT

Dynamically load support module for IBSheet

js-standard-style

features

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

license

MIT

Generated using TypeDoc