Skip to content

dbetka/js-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-plugin-template

Template for js plugin project.

Installation

npm i

Building

Build js bundle from src/index.js to dist/index.js.

npm run build            

Usage plugin outside

Full Bundle

import plugin from 'js-plugin-template' // js-plugin-template is path to plugin directory

plugin.logText('text') // print 'text' in console 

Individual methods

import { logText } from 'js-plugin-template' // js-plugin-template is path to plugin directory

logText('text') // print 'text' in console 

About

Template for JS plugin project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published