Create a skeleton to develop a Leaflet Plugin. Afer use the generator we recommed use the Leaflet Plugin Guide.
This generator is Work in Progess, defining his archicture and also his implementation. It's not ready to use in live/production enviroments but if you want can try, test and contribute, will be great!.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
npm install -g yo
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-leaflet-plugin from npm, run:
npm install -g generator-leaflet-plugin
Finally, initiate the generator:
yo leaflet-plugin
MIT