Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prague

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prague

FP helpers for games and chatbots

  • 1.3.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Prague

A library for using function programming concepts to more concisely and expressively code in apps like games and chatbots. I thought of it as I walked around the city of Prague on a sunny Spring day. This is not an official Microsoft project.

Major features of Prague:

  • strongly-typed when using TypeScript (but you don't have to use TypeScript)
  • flexibly asynchronous - mix functions that return Promises with functions that don't
  • utilizes and promotes functional programming (you do actually have to use functional programming, but you don't have to know anything about it to get started)

Building Prague

  • clone this repo
  • npm install
  • npm run build (or npm run watch to build on file changes)

To add to your app

  • npm install prague

Tutorial

The Prague tutorial starts here.

Samples

There is a simple chatbot sample here.

After building Prague, run it by node lib/samples/runSimpleBot.js, then try saying:

My name is {your name here}
Je m'appelle {your name here}
Gone fishing
Howdy y'all, I'm { your name here}
Back to work
Howdy y'all, I'm { your name here}
Goodbye

FAQs

Package last updated on 03 Oct 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc