Socket
Socket
Sign inDemoInstall

burlyy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

burlyy

Promise-based Node.JS AIML interpreter.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

burly

burly adjective

  1. (of a person) large and strong; heavily built.

Burly is a fork of Surly2, an AIML interpreter with a bad attitude.
The fork adds/changes:

  • Changed callbacks to promises.
  • Added type tags for all nodes because reasons.
  • Documentation of all the things so your IDE doesn't cry.
  • ES6 thingys

Status

Actually works quite well so far but not everything is implemented.
Even so, I wouldn't try using it for anything serious quite yet.
Check out COVERAGE.md for full details.

Requirements

A Node.JS installion of at least version 6.

Installation and Usage

Through NPM

npm install burlyy  # I didn't think to check if burly was taken before I named it.

or

npm install ovyerus/burly

Git

git clone https://github.com/Ovyerus/burly.git
npm install

Usage

Programmatic API

const Burly = require('burlyy');
const bot = new Burly({
    defaultResponse: "I don't know what you're on about.",
    name: 'Botto'
});

bot.loadFile('alice.aiml').then(() => {
    return bot.talk('You rule.');
}).then(response => {
    console.log(response); // "I rock and rule."
});

CLI

$ node cli.js
Burlyy: Hello! Type quit to quit or /help for unhelpful help.
You: You rule.
Burlyy: I rock and rule.

TODO

  • Fix some quirks relating to some parsing issues.
  • Implement rest of tags.
  • Allow user to specify custom bot attributes.
  • AIML 2.0 support(???)

Thanks

FAQs

Package last updated on 15 Nov 2017

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