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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@liascript/chat

v0.1.4--2.7.0

Published

An embeddable chat that renders every message as LiaScript Markdown (quizzes, surveys, executable code, templates).

Readme

LiaScript Gitter

GitHub contributors GitHub commit activity GitHub repo size

LiaScript📝🚀

Create fully interactive, offline-capable online courses using Markdown – perfect for educators, NGOs, and developers.

Try Live License: BSD3 Made with Markdown GitHub issues Twitter Follow

🚀 What is LiaScript?

LiaScript is an open-source interpreter that turns static Markdown files into fully interactive learning experiences – rendered directly in the browser, even offline. It’s built for:

  • 🎓 Educators: Craft structured lessons with quizzes, animations, TTS, and live code.
  • 🌍 NGOs: Distribute multilingual, low-bandwidth-friendly content, globally and for free.
  • 💻 Developers: Document APIs or teach programming with executable code and narration.

https://github.com/user-attachments/assets/7cab2d61-5858-4b62-87bf-0598e44af2e7

✨ Features

  • ✅ Plain Markdown-compatible with educational extensions
  • ❓ Quizzes, cloze tests, and surveys
  • 🗣️ Text-to-Speech (TTS) in multiple languages
  • 💻 Live Code execution (JavaScript, Python via Pyodide, MicroPython, etc.)
  • 📊 ASCII diagrams, charts, and tables
  • 📲 PWA support – works completely offline
  • 📤 Export to PDF, SCORM, IMS
  • 🔌 Plugin system and macros
  • 👥 Peer-to-Peer mode for offline-first collaboration
  • much more ...

🧪 Get Started in 60 Seconds

  1. Create a Markdown file:

    # Hello LiaScript
    
    {{|>}}
    Welcome to this interactive course.
    
    What is 2 + 2?
    
    - [( )] 3
    - [(X)] 4
    - [( )] 5
  2. Host it (e.g., on GitHub)

    📦 Example: https://github.com/yourname/my-course/README.md

  3. Open it in your browser:

    https://liascript.github.io/course/?https://github.com/yourname/my-course/README.md

Alternatively

  1. Open the LiveEditor

  2. Change the example and click on parsing

  3. Export it to GitHub gist, Nostr, or share it directly as a data-URI (only within the URL).

📚 Resources & Showcase

| Resource | Description | | --------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | | Blog | News, features, tutorials, examples and more | | LiveEditor | Online & browser only editor for LiaScript | | Docs | Full documentation, syntax, tutorials | | YouTube Channel | Video guides & examples | | Exporter-CLI | PDF/SCORM/IMS/WEP/Project exporter | | Markdownify JSON -> LiaScript | AI-compatible JSON course generator | | VSCode Preview Plugin | Live Preview courses in VSCode | | VSCode Web-Preview Plugin | Live Preview courses in VSCode-Web (https://github.dev) | | Atom Preview Plugin | Live Preview courses in Atom | | Development Server | Lvve Preview courses with any editor |


👩‍💻 Join the Community

💬 Engage

🌍 For NGOs & OER Projects

We welcome collaborations with:

  • 📚 Open Education Initiatives
  • 🌱 Non-profit training programs
  • 🏫 Teachers & universities worldwide

Let’s build a global library of interactive knowledge.

⚙️ Dev Tools & Automation

  • Use our Exporter-CLI to export courses to PDF/SCORM/IMS/Index/Web
  • Automate deployment with GitHub Actions (Examples)
  • Convert AI-generated JSON to Markdown using Markdownify

📜 License

Licensed under the BSD3 License – 100% free and open.

📣 Stay in Touch


“Markdown is just text – LiaScript turns it into learning.”

Build

Use the following commands to download the LiaScript source-code and to build it locally.

git clone https://github.com/liascript/liascript

cd liascript

npm i

npm run watch  # develop in watch-mode

npm run build  # build to dist

After your first build, you can run the following commands, this will download additional elm-patches and apply them:

git submodule update --init --recursive

cd patches

make

cd .. # go back

rm -rf elm-stuff .parcel-cache # remove all cached stuff

npm run build # force an entire rebuild of the project

This will apply the following four patches:

  • elm-break-dom: allows browser extensions such as screen-readers to change the nodes of the app, without crashing the app

  • elm-patch/url: enables the file-protocol, which is only required when building Desktop-apps

  • elm-patch/dom: enable onclick events as well as innerHTML

  • Dexie: this will allow only LiaScript to access indexedDB, which increases the security, by restricting the access. This way information about user states, visited courses, etc. cannot be leaked or spied by other JavaScript modules.

Preview

If you want to add a preview-link for the course to your site, simply add the following script to the head of your website and place the custom webcomponent preview-lia anyone in your document, with src pointing to your LiaScript course.

<html>
  <head>
    ...
    <!-- add preview-lia tag support to display all course related information -->
    <script
      type="text/javascript"
      src="https://liascript.github.io/course/preview-lia.js"
    ></script>
    ...
  </head>
  <body>
    ...
    <preview-lia
      src="https://raw.githubusercontent.com/liaScript/docs/master/README.md"
    ></preview-lia>
    ...
  </body>
</html>

Badges

Simply replace URL at the end of the snippet below with your desired GitHub repository (and the main README.md of your master-branch will be used) or directly point to any Markdown-file anywhere within the web.

Badges:

  • course:

    LiaScript

    [![LiaScript](https://raw.githubusercontent.com/LiaScript/LiaScript/master/badges/course.svg)](https://LiaScript.github.io/course/?URL)

  • learn more:

    LiaScript

    [![LiaScript](https://raw.githubusercontent.com/LiaScript/LiaScript/master/badges/learn_more.svg)](https://LiaScript.github.io/course/?URL)