Socket
Socket
Sign inDemoInstall

bs-ink

Package Overview
Dependencies
11
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bs-ink

BuckleScript binding for ink


Version published
Maintainers
1
Install size
98.7 kB
Created

Readme

Source

bs-ink

BuckleScript binding for Ink

Let's build interactive CLI with React and ReasonML!

Supports

Core:

  • render

Context:

  • StdinContext
  • StdoutContext
  • StderrContext

Components:

  • App
  • Box
  • Color
  • Text
  • Static
  • Transform

Hooks:

  • useApp
  • useInput
  • useStdin
  • useStdout
  • useStderr

Do you find any missing APIs? Let me know!

Requirements

  • BuckleScript v7.3.0 or higher (to compile unit as undefined value)
  • Reason React v0.7.0 or higher (to use hooks)

Install

yarn add reason-react bs-ink

Add it to your bsconfig.json

  "bs-dependencies": [
+   "reason-react",
+   "bs-ink"
  ]

Example

See examples

License

See LICENSE

FAQs

Last updated on 16 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc