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

ako-lang

v0.0.15

Published

Simple and easy to use programming language. Ako is designed to be used as both a programming language and a visual programming language.

Downloads

6

Readme

logo

NPM Version NPM Download CDN Download Coverage Status Quality Gate Status Security License

AKO Language [WIP]

AKO is a programming language built to be used by no-code or low-code tools

It's a simple scripting language designed to be embedded in application or webApp

[ Documentation | Playground ]


Here is a sample of what Ako looks like

task DelayMessage ["msg"] {
  @print("Hum")
  for i in [3,2,1] {
    @sleep(1)
    @print(String.repeat(".", i))
  }
  @print(msg)
}

name = @ask('What is your name ?')
@DelayMessage("Hello {name} !")

[ Test this code ]

Problem & Goals

Most No-code or Low-code existing solution have big limitations:

  • Bloaty and complicated
  • closed source, so it can be hard to contribute or add custom logic
  • their own UI that can be really frustrating for more advanced user (like blockly)
  • the code is usually stored in a proprietary text format (JSON, YAML or XML) and is not portable or reusable

Ako tries to fill the gap by providing at the same time:

  • A visual programming interface for beginners
  • An interpreter designed to run almost anywhere
  • A programming language for more advanced users but easy to learn
  • Automatic common error detection with code analysis and human friendly error message

Getting Started

From NPM

# Install Ako interpreter
npm install -g ako-lang

# Execute
ako run ./test.ako

Standalone Executable

You can directly use standalone executable of the interpreter : Release page

It's compiled for Windows, Mac and Linux and once downloaded, you can use it to run Ako scripts

./ako.exe run test.ako

CDN

For web usage, you can load the library directly with ESM imports

import * as Ako from 'https://cdn.jsdelivr.net/npm/[email protected]/dist/ako-web.js'

How to write Ako scripts ?

For that, please take a look at our Documentation

Ako Development

After cloning this repository

Getting started locally

npm install # install deps
npm run build
npm link # link the local file globally

ako run ./samples/ # use the interpreter

Other

npm test # run unit tests
npm run package # create the binaries (after build)