@adrianhelvik/trace

## Installing ```bash npm install --save @adrianhelvik/trace yarn add @adrianhelvik/trace ```

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@adrianhelvik/trace
Minified + gzip package size for @adrianhelvik/trace in KB

Readme

@adrianhelvik/trace

Installing

npm install --save @adrianhelvik/trace
yarn add @adrianhelvik/trace

Example usage

import trace from '@adrianhelvik/trace'

const source =
`hello there
how do you do?
I'm fine`

const index = 16

const message = 'Hello world'

console.log(trace(source, index, message))

This prints:

2 | how do you do?
        ^ [2:5] Hello world

Licence: MIT

See LICENCE.md

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.