lines-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

Lines Parser

an unofficial parser for .lines binary files for reMarkable paper tablet

currently only a basic renderer works but the output is usable

Installing

the package is available on npm, you can install either via npm: npm install lines-parser or yarn: yarn add lines-parser

How to use

the following command will parse the file at linesFilePath and create a png for each page in the file in the directory specified by outputPath, the promise returned will resolve an object for each page

parse(linesFilePath, outputPath)
    .then(result => {
        for (const page of result.paths) {
            console.log(page.path);
        }
    })

Todo

  • page templates
  • handling pressure for lines
  • stroke texturing
  • ...

Credits

thanks to @ax3l for the great article

Package Sidebar

Install

npm i lines-parser

Weekly Downloads

3

Version

0.0.10

License

MIT

Unpacked Size

139 kB

Total Files

16

Last publish

Collaborators

  • gvinaccia