npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

irin-lang

v0.0.6

Published

IRIN (Indent to Recognize for Intelligent Natural language) is a scripting language of chatterbots, make you easier to create chatterbot.

Downloads

4

Readme

irin-lang

Indent to Recognize for Intelligent Natural language or IRIN is the programming language which use indent to descibe question and answer for chatterbot. It's design for shorter script and easier for newbie. compatible test with English and Thai.

This repo irin-lang is interpreter for irin language. it's written on coffeescript and make to compatible with javascript in browser side and server side.

If you have any question or any problem. Let's me hear at Github issue

How to scripting irin

irin language has divided into two part that call Head and Body. In head use to define variable and body use to define question and answer for chatterbot. You can scripting without head. irin script must save in .irin file extension. In body use indent to descibe question or answer. You can indent by use Tab or space. Here is example.

Hello
  Hi!

when you type hello. Don't worry about case sensitive on question. bot will reply Hi!. Line without indent always question. And greater deep level is answer. And next greater level is question.

And irin language has many feature. such as in-line condition. define topic in seperate files information. So please read documentation to find them out.

Installation

irin-lang interpreter is available via NPM you can download by

npm install --save irin-lang

and available on Bower too. you can download by

bower install --save irin-lang

Don't worry if you isn't use both NPM and Bower. you can directly download from Github Repo Release

by using Node.js or CommonJS

var Irin = require("irin-lang")

by using normal browser

<script src="path/to/irin-lang.min.js"></script>

then you must check for make sure everything work correctly. by create file hello.irin

hello
  Hello world!

and write this javascript to run hello.irin with input hello

var bot = new Irin("hello.irin",function(err){
  if(err){
    throw err;
  }
  console.log(bot.reply("hello"));
});

if everything work fine. you should see Hello world! from console. if you ran into problem. try to fix it by your safe. if nothing work. Let's me here at Github issue

and finally you is ready to learn irin language. Please read documentation to continue.

Documentation

documentation is available in Thai and English.

LICENSE

this project has been supported by the National Electronics and Computer Technology Center (NECTEC)

Please read custom license from LICENSE in this repository.

Develop by

Pakkapon Phongthawee
Email : [email protected]
Personal Website: www.pureapp.in.th