@maboroshi/selector
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

selector

単純な querySelector のエイリアス

インストール

npm install @maboroshi/selector

or

yarn add @maboroshi/selector

使い方

import { $, $$ } from '@maboroshi/selector'

console.log($('p')) // => The 1st P element on the document.
console.log($$('p')) // => The All P elements on the document.

API

API ドキュメント を見る

/@maboroshi/selector/

    Package Sidebar

    Install

    npm i @maboroshi/selector

    Weekly Downloads

    10

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    6.18 kB

    Total Files

    9

    Last publish

    Collaborators

    • isoden