f2i.core
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

F2I Core 0.1.0 · GitHub license npm version

logo

File to image utility

API

You can import library to create your own projects. Just import F2I

import F2I from "f2i.core";

Text -> Image

F2I.textToImage( text ).then( image => image.write( path ));
  • Param text - this is the text to encode
  • Param path - this is the path where image will be saved

Image -> Text

F2I.imagePathToText( path ).then(text => console.log(text));
  • Param path - this is the path to your png image file

This function returns the Promis<string>.

Readme

Keywords

none

Package Sidebar

Install

npm i f2i.core

Weekly Downloads

1

Version

1.0.0

License

Apache-2.0

Unpacked Size

32.4 kB

Total Files

13

Last publish

Collaborators

  • diegoling33