1.0.2 • Published 2 years ago

@shlomya/throttler v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

For a plain Javascript alternative, check out js-library-boilerplate-basic.

⭐️ Features

  • Webpack 5
  • Babel 7
  • Hot reloading (npm start)
  • Automatic Types file generation (index.d.ts)
  • UMD exports, so your library works everywhere.
  • Jest unit testing
  • Customizable file headers for your build (Example 1) (Example2)
  • Daily dependabot dependency updates

📦 Getting Started

git clone https://github.com/hodgef/ts-library-boilerplate-basic.git myLibrary
npm install

💎 Customization

Before shipping, make sure to:

  1. Edit LICENSE file
  2. Edit package.json information (These will be used to generate the headers for your built files)
  3. Edit library: "MyLibrary" with your library's export name in ./webpack.config.js

🚀 Deployment

  1. npm publish
  2. Your users can include your library as usual

npm

import MyLibrary from 'my-library';
const libraryInstance = new MyLibrary();
...

self-host/cdn

<script src="build/index.js"></script>

const MyLibrary = window.MyLibrary.default;
const libraryInstance = new MyLibrary();
...

✅ Libraries built with this boilerplate

Made a library using this starter kit? Share it here by submitting a pull request!

ajvacornacorn-jsxacorn-walkansi-regexansi-escapesansi-colorsansi-stylesanymatchargargparsearray-unionastral-regexbabel-preset-current-node-syntaxbabel-preset-jestbabel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbalanced-matchbuffer-frombrace-expansioncallsitesbrowserslistbinary-extensionsbserbracescamelcasecaniuse-litebs-loggerchalkchar-regexchokidarci-infococliuicollect-v8-coveragecolor-convertcolor-nameconcat-mapconvert-source-mapcjs-module-lexerdedentdeep-iscreate-requiredeepmergedetect-newlinecross-spawndiff-sequencesdir-globdoctrineemoji-regexdiffdynamic-dedupeemitteryelectron-to-chromiumerror-exescaladeescape-string-regexpenquirereslint-scopeeslint-visitor-keyseslint-utilsespreeesrecurseesprimaesutilsesqueryexitestraversefast-deep-equalexpectexecafast-levenshteinfast-json-stable-stringifyfast-globfill-rangefastqfind-upfb-watchmanfile-entry-cachefseventsflattedflat-cachefunction-bindfs.realpathfunctional-red-black-treeget-caller-fileget-package-typegensyncget-streamglobglobalshasglob-parenthas-flaghtml-escaperglobbyhuman-signalsignoreimport-freshimurmurhashinheritsimport-localinflightis-arrayishis-extglobis-fullwidth-code-pointis-generator-fnis-numberis-core-moduleis-globis-binary-pathis-streamisexeistanbul-lib-coverageistanbul-lib-reportistanbul-reportsistanbul-lib-instrumentistanbul-lib-source-mapsjest-changed-filesjest-configjest-diffjest-circusjest-eachjest-docblockjest-get-typejest-environment-nodejest-leak-detectorjest-matcher-utilsjest-haste-mapjest-mockjest-pnp-resolverjest-message-utiljest-regex-utiljest-resolve-dependenciesjest-resolvejest-runnerjest-runtimejest-snapshotjest-utiljest-watcherjest-validatejsescjs-yamljs-tokensjson-parse-even-better-errorsjson-schema-traversejson-stable-stringify-without-jsonifykleurjson5levenlines-and-columnslocate-pathlevnlodash.truncatelodash.clonedeeplodash.mergelodash.memoizemerge-streamlru-cachemakeerrormake-errormerge2mimic-fnmicromatchnatural-comparenode-int64minimatchnormalize-pathnpm-run-pathonceminimistmkdirponetimenode-releasesp-limitp-locateoptionatorparent-modulep-trypath-existsparse-jsonpath-typepath-is-absolutepath-parsepath-keypicomatchpkg-dirprogresspretty-formatpicocolorspiratespunycodepromptsprelude-lsregexppreact-isrequire-directoryrequire-from-stringreaddirpresolve-cwdqueue-microtaskresolve-fromresolvesafe-bufferresolve.exportsrun-parallelreusifyrimrafsignal-exitshebang-commandsisteransishebang-regexsemversource-mapsprintf-jsslice-ansisource-map-supportstring-lengthstack-utilsstring-widthstrip-ansistrip-json-commentsstrip-bomstrip-final-newlinesupports-colorterminal-linksupports-hyperlinkstext-tabletableto-fast-propertiestmpltree-killtest-excludetsutilstsconfigupdate-browserslist-dbto-regex-rangetype-checktype-detecttype-festuri-jsv8-compile-cachev8-compile-cache-libv8-to-istanbulword-wrapwrite-file-atomicwrap-ansiwalkerwhichy18nxtendyallistwrappyyargsynyocto-queueyargs-parser
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago