Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/fed_dev/deps.ts>postcss.Node#rangeBy

A Bundler with the web in mind.
Latest
method postcss.Node.prototype.rangeBy
Re-export
import { postcss } from "https://deno.land/x/fed_dev@0.9.0/deps.ts";
const { Node } = postcss;

Get the range for a word or start and end index inside the node. The start index is inclusive; the end index is exclusive.

Parameters

optional
opts: Pick<WarningOptions, "word" | "index" | "endIndex">

Options.

Returns

Range

Range.