Coder Social home page Coder Social logo

force-stdin-tty's People

Contributors

dependabot[bot] avatar dosentmatter avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

force-stdin-tty's Issues

Example husky configs using this library

Hi, I want to use your library with husky (for commitizen on Windows), but Iโ€™m not sure how to use. Could you add some example configs for your library + husky?

TODOs

Create GitHub issues for the following:

  • Clean up force-stdin-tty API
    • Use default export?
    • Update types after DefinitelyTyped PR has been merged.
    • Close file descriptor.
    • (A)sync API.
    • Add withForceStdinTty function that takes a callback to be wrapped to do setup and teardown tasks, similar to Python's with open():. This is so user doesn't have to manually close stdin.
  • Support Windows

To capture input from user

Hi Apologies
in advance if you think this is not the place for this query, am new to git and node world am suppose to write a hook in node js which wants to execute a task based on user input a character y or n, I tried using ur example

I ended up getting weird errors like c:/ws/something along with some gc functions

If it's not too much can you please let me know how to do this

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.