Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

Convert string index to line/column.

Parameters

index: number

The symbol number in the node’s string.

Returns

Symbol position in file.