Skip to main content
Module

x/bundler/deps.ts>postcss.Node#positionBy

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

Get the position for a word or an index inside the node.

Parameters

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

Options.

Returns

Position.