Package Exports
- tealight
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tealight) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Tealight
Enhanced query selector API.
Installation
Browser
A simple and fast way to get started is to include this script on your page:
<script src="https://unpkg.com/tealight"></script>
This will create the global variable tealight
.
If you use this method in production, be sure to specify a fixed version number, and use the minified distribution; e.g:
https://unpkg.com/tealight@1.0.0/dist/tealight.min.js
. This improves performance, but also prevents library changes from impacting your project.
Module
npm install tealight
CommonJS
const tealight = require('tealight')
ES2015
import tealight from 'tealight'