npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-tiny

v0.7.7

Published

Yeoman generator

Downloads

13

Readme

#This generator is only used by myself, and the function is very poor, please do not install!
#What is it?
A generator of Yo and a tool that based on NodeJS
To create the apps and the view templates with the user input arguments. save the time for developer to develop new feature.
The details information about generator please reference the website Yeoman.
#How does it work?
In the environment of NodeJS, Yeoman, execute the shell command to build files.
views,tmpl
#Install ##It's a module of NodeJS, so you can execute the command to get it.
npm install tiny-generator ##and the constructor of tiny-generator contents two parts:

  • tiny:app the base of generator, but it does not do anythings.
  • tiny:backbone the primary function that we use in development.

#Usage ##1, post one parameter when execute tiny:backbone tiny:backbone appModuleName the appModuleName is name of the module that you created, it can be a path like this folderParent/folderSub/modelName
###eg.
tiny:backbone settings/contact/profile (you don't need to add the suffix of the file) it will generate two files in the path of the root path(you should config the root path)

  • rootPath/settings/contact/profileApp.js
  • rootPath/tmpl/settings/contact/profileAppTmpl.html

##2, set the resources path where you place the generated javascript and html files The resources path that you place javascript and template file: the default value is the path of command executed. ##3, select the type of code that you want to use

  • standard
  • dialog
  • grid
  • dialog-grid

##4, do you want to add form validation code?

##5, The root path that you place the files that for your testing. we will generate 3 files for testing 1, testingRootPath/app/settings/contact/profileAppTest.html, if you use the grunt serve to open this file, this file will show the usage of the new created app. 2, testingRootPath/test/settings/contact/profileApp-unitTest.js 3, testingRootPath/test/settings/contact/profileApp-endToEndTest.js

##6, delete the files that you just created with the option --delete tiny:backbone appModuleName --delete, this will delete the files that you created.
##7, Only generate testing files for existed files. tiny:backbone appModuleName --testonly, this will generate the testing files for the existed module apps. #maintainability Add the generator templates by the requirements of Project.

Release History

2015-2-22 v0.2.7 add the testonly option to create the testing files for the existed apps. 2015-2-5 v0.2.4 add the delete option to delete the files that created.