Options
All
  • Public
  • Public/Protected
  • All
Menu

@zerot2s/lazy-loader

lazy-loader

code style: prettier Conventional Commits License: MIT

Dynamically lazy loading javascript or stylesheets

based on https://github.com/Euiyeon/ts-lib-webpack-starter.git

js-standard-style

features

continuous integration

  • Codacy - Automated code reviews & code analytics
  • CircleCI - Continuous Integration and Delivery
  • codecov - leading, dedicated code coverage
  • snyk.io - Continuously find and fix vulnerabilities for npm

development

run webpack-dev-server localhost:3033

yarn serve

build

yarn build

publish

yarn build
yarn release
npm link
npm publish --access public

document

API Document: https://zerot2s.github.io/lazy-loader/

  • generate: yarn doc
  • publish: yarn doc:publish

todo

  • function
    • loader instnace
      • create options
      • set/get config
    • load
    • reload
    • unload
    • events(on)
      • loaded
      • unloaded
    • imported library custom api
      • create
      • instance
        • length
        • get
        • getIndexById
        • getIdByIndex
        • getList
        • removeById
        • removeByIndex
        • removeAll
  • git integration
    • Codacy
    • CircleCI
    • codecov
    • snyk.io

license

MIT

Generated using TypeDoc