plug
Plugin management library.
⚠️ Plugins in deno are unstable and undergoing BREAKING CHANGES. this library aims to follow changes to the stdlib as closly as possible.
import { Plug } from "https://deno.land/x/plug/mod.ts";
const options: Plug.Options = {
name: "test_plugin",
urls: {
darwin: `${path}/libtest_plugin.dylib`,
windows: `${path}/test_plugin.dll`,
linux: `${path}/libtest_plugin.so`,
}
};
const rid = await Plug.prepare(options);
const { testSync } = Plug.core.ops();
const response = Plug.core.dispatch(
testSync,
...
);
Deno.close(rid);
other
contribution
Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt
and commit messages are done following Conventional Commits spec.
licence
Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.