JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8474
  • Score
    100M100P100Q128146F
  • License MIT

Enhanced query selector API

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

Tealight

Enhanced query selector API.

Build status Coverage Version 0.4KB min+gzip MIT License

Browser compatibility matrix



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'