GithubHelp home page GithubHelp logo

Typescript bindings about node-native-ocr HOT 3 CLOSED

stoefln avatar stoefln commented on July 19, 2024
Typescript bindings

from node-native-ocr.

Comments (3)

stoefln avatar stoefln commented on July 19, 2024

Hi @GeoffMcLennan I don't have any TS declarations, but it would be amazing if you could contribute them!

from node-native-ocr.

GeoffMcLennan avatar GeoffMcLennan commented on July 19, 2024

@stoefln Sounds good! I'll generate some manually, but that means if the base API of any exported members from this library change, they will be out of date. I don't have any experience with maintaining a library like this, but I would bet there's some CI tool that we could add to automate generation of TS declarations in the future. I'll keep an eye out for that as well

Edit: Actually I see that you're essentially just exposing the underlying libraries API directly, so I'm not sure theres an easy way to automatically generate the .d.ts files, so I will just go with what's described in the ReadMe for now

from node-native-ocr.

GeoffMcLennan avatar GeoffMcLennan commented on July 19, 2024

Created a PR with manually defined declarations: https://github.com/stoefln/node-native-ocr/pull/12/files

from node-native-ocr.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.