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.Input#fromOffset

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

Converts source offset to line and column.

Parameters

offset: number

Source offset.

Returns

{ line: number; col: number; } | null