wss-plugin

wss-plugin

Usage no npm install needed!

<script type="module">
  import wssPlugin from 'https://cdn.skypack.dev/wss-plugin';
</script>

README

wss-plugin

install

npm install wss-plugin

usage

import wssPlugin from 'wss-plugin';
const youPlugin = wssPlugin((namespace, _opts, done) => {
  /**
   *Your plugin implementation
   *
  **/
  done();
}, {
  name: 'youPlugin',
});
let isScoped=youNamespacePlugin[wssPlugin.pluginScoped]
let meta=youNamespacePlugin[wssPlugin.pluginMeta]
let prefix=youNamespacePlugin[wssPlugin.pluginPrefix]
export {
  youPlugin
}