Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

sylodev/action-transpiler

Repository files navigation

@sylo-digital/action-transpiler

Convert scripts from legacy formats into the new format. This can never be perfect but it should be good enough for >99% of actions.

import { convert } from "@sylo-digital/action-transpiler";
const script = `{note;This does something interesting}\n{user.mention;{note;example}}`;
const converted = convert(script);
console.log(converted);
// This does something interesting
{user.mention;{void;example}}

About

Convert legacy actions into a modern format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published