"> supports-preserve-symlinks-flag 30f7226d9a first commit il y a 2 ans tailwind-color-palette 30f7226d9a first commit il y a 2 ans tailwindcss 30f7226d9a first commit il y a 2 ans thenify 30f7226d9a first commit il y a 2 ans thenify-all 30f7226d9a first commit il y a 2 ans to-regex-range 30f7226d9a first commit il y a 2 ans tr46 30f7226d9a first commit il y a 2 ans ts-interface-checker 30f7226d9a first commit il y a 2 ans uglify-js 30f7226d9a first commit il y a 2 ans underscore 30f7226d9a first commit il y a 2 ans upper-case 30f7226d9a first commit il y a 2 ans util-deprecate 30f7226d9a first commit il y a 2 ans valid-data-url 30f7226d9a first commit il y a 2 ans web-resource-inliner 30f7226d9a first commit il y a 2 ans webidl-conversions 30f7226d9a first commit il y a 2 ans whatwg-url 30f7226d9a first commit il y a 2 ans wrap-ansi 30f7226d9a first commit il y a 2 ans wrappy 30f7226d9a first commit il y a 2 ans y18n 30f7226d9a first commit il y a 2 ans yallist 30f7226d9a first commit il y a 2 ans yaml 30f7226d9a first commit il y a 2 ans yargs 30f7226d9a first commit il y a 2 ans yargs-parser 30f7226d9a first commit il y a 2 ans .yarn-integrity 30f7226d9a first commit il y a 2 ans tum/tmt_learning - Gogs: Simplico Git Service

Нема описа

Prach Pongpanich 6f337d0a21 install tailwind alpine daisyui пре 3 година
..
dist 6f337d0a21 install tailwind alpine daisyui пре 3 година
API.md 6f337d0a21 install tailwind alpine daisyui пре 3 година
CHANGELOG.md 6f337d0a21 install tailwind alpine daisyui пре 3 година
LICENSE-MIT 6f337d0a21 install tailwind alpine daisyui пре 3 година
README.md 6f337d0a21 install tailwind alpine daisyui пре 3 година
package.json 6f337d0a21 install tailwind alpine daisyui пре 3 година
postcss-selector-parser.d.ts 6f337d0a21 install tailwind alpine daisyui пре 3 година

README.md

postcss-selector-parser Build Status

Selector parser with built in methods for working with selector strings.

Install

With npm do:

npm install postcss-selector-parser

Quick Start

const parser = require('postcss-selector-parser');
const transform = selectors => {
    selectors.walk(selector => {
        // do something with the selector
        console.log(String(selector))
    });
};

const transformed = parser(transform).processSync('h1, h2, h3');

To normalize selector whitespace:

const parser = require('postcss-selector-parser');
const normalized = parser().processSync('h1, h2, h3', {lossless: false});
// -> h1,h2,h3

Async support is provided through parser.process and will resolve a Promise with the resulting selector string.

API

Please see API.md.

Credits

  • Huge thanks to Andrey Sitnik (@ai) for work on PostCSS which helped accelerate this module's development.

License

MIT