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

temply

v0.0.4

Published

Temply the stratic html creator

Downloads

3

Readme

Temply (Beta)

Fast way to prototype your html pages

Temply was created originally to create our Free HTML Templats and we thought it might be of a good use for others as well :)

Component

Installation

$ npm install temply -g

To Start a new template/html project, cd to an empty folder where you want to create your files then:

$ temply init

Temply will copy some files and folders to the distination folders, to watch changes while editing sources

$ temply watch

To compile

$ temply compile

By default compiled files will go to the dist folder, to change that, open init.js file and edit

exports.outLocation = '/some/folder';

Font Icons

By default there is no icons set, but we recommend fontastic just create an account with them, genereate your desired set of icons, and then extract files in assets/css/icons

#Source Files

layout.hbs

Default layout which will be shared with all pages, you can modify as needed but keep {{> content}} partial where ever you want the pages to be compiled.

init.js

This file contains general Template options

  • exports.outLocation : define compiled files destination
  • exports.helpers : define handlebars helpers
  • exports.partials : define handlebars partials
  • exports.data : general data to use with handlebars template engine

Dealing with handlebars

handlebars templates are in handlebars folder, by default index.hbs is there, but you can create as many pages as you want, ex : about.hbs will compile to about.html

Each page can has it own set of options, *will override global options found in init.js exports.data *, to set per page options at the top of the handlebars page add a wellformed json inside {{config}} {{\config}} handlebars tags.

{{config}}
    {
        "title" : "About Page",
        "description" : "This is a description",
        ...
    }
{{\config}}

Dealing with Less CSS

LESS Elements is pre installed so you can use it immediately.

Predefined media queries, based on BareCss media queries, you can use as the following:

.some-class-selector {
    @media @small { ... }
    @media @medium { ... }
    @media @large { ... }
    @media @xlarge { ... }
}

Free Templates

We already created some free clean HTML Templates using Temply check them out here.

License

MIT

Free Software by sweefty.com