Generate a new Capacitor plugin
npm install @capacitor/create-pluginGenerate a new Capacitor plugin.
```
npm init @capacitor/plugin [
:memo: npm init requires npm 6+
You can also try the following methods to use this package:
- npx @capacitor/create-pluginyarn create @capacitor/plugin
- npm install -g @capacitor/create-plugin && create-capacitor-plugin
-
As of the 0.8.0 release, example apps for testing are included when initializing a new plugin. To use these templates, you can open the npx cap open android or npx cap open ios command for Android and iOS respectively. Anything in the example-app folder will be excluded when publishing to npm.
```
--name
--package-id
--class-name
--repo
--author
--license
--description