UNPKG

src-location

Version:

Convert source location from line and column to index position (character offset), and vise versa.

36 lines (35 loc) 784 B
{ "name": "src-location", "version": "1.1.0", "description": "Convert source location from line and column to index position (character offset), and vise versa.", "main": "index.js", "directories": { "test": "test" }, "scripts": { "test": "mocha" }, "repository": { "type": "git", "url": "git+https://github.com/futurist/src-location.git" }, "keywords": [ "source", "location", "line", "column", "index", "position", "offset" ], "author": "James Yang <jamesyang999@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/futurist/src-location/issues" }, "homepage": "https://github.com/futurist/src-location#readme", "devDependencies": { "chai": "^3.5.0", "mocha": "^3.1.2" } }