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 🙏

© 2026 – Pkg Stats / Ryan Hefner

modelview

v0.3.0

Published

Quick and easy HTML5 templating engine

Downloads

30

Readme

ModelView: Fast templates

ModelView is a simple templating system that binds JavaScript to good ol' HTML templates using HTML5.

It was inspired by AngularJS, but has somewhat different design goals. The goal of ModelView is to be as light and fast as possible, and rely on standard APIs to get the job done: it currently does not have any dependencies at runtime.

It allows to bind data to DOM elements, and be able to refresh the DOM when the data changes, and vice versa, either automatically or on demand, or when a certain event is fired.

It provides a few common constructs, like binding values, looping, conditionals, events, and so on. It is also easily extensible, and new constructs can be added fairly quickly with a few lines of code.

Contributions are welcome.

Features

Current features

  • Model bindings
  • Scope and nested scope resolution
  • Common directives: Value, Model, Condition
  • Foreach loops via the Each directive
  • Event bindings directive

Upcoming features

  • Garbage collector
  • Async rendering
  • Event optimisation
  • Model shorthand directives (if, each)
  • Model versioning and change history

Installation

Simply install using npm:

$ npm install modelview

Usage

You can check the documentation at http://modelview.io/docs, and/or check the test cases https://bitbucket.org/overridelogic/modelview/raw/master/tests/integration.html for examples!

Building

When building from source, use the build script:

$ npm run build

It creates a distribution in the dist/ directory, and documentations in build/docs/.

Contributing

Contributions are always welcome. If you want to contribute:

  • Fork the project
  • Test your code (see below)
  • Push your code
  • Submit a pull request

Testing

Contributions must pass both the tests and styling guidelines. Before submitting a patch, make sure you run:

$ npm run test && npm run validate

About the project

Change log

See CHANGELOG https://bitbucket.org/overridelogic/modelview/raw/master/CHANGELOG.md.

Licence

MIT License: see LICENSE https://bitbucket.org/overridelogic/modelview/raw/master/LICENSE.

Authors

Francis Lacroix @netcoder1 created ModelView while at OverrideLogic.