New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mini-view

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-view

a simple function for creating views

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

WORK IN PROGRESS

mini-view

a simple function for creating views

To Run Examples in This Repo

cd to this repo, then npm start

Why I Created This Module

  • I wanted a way to modularize client-side code without creating too many abstractions.
  • I like Backbone and other frameworks' concept of View (view controller / controller), but I thought it might be possible to do use something simpler in many cases, especially for simple websites.
  • I wanted to be able to compose views together and create event handlers before attaching features to a web page / app.

Credits

  • clone function from Axel Rauschmayer
  • interpolation function
  • Thanks to Kyle Paulsen for the template caching strategy

TODO:

  • find a more clever module name
  • write a few tests
  • publish to npm

TODO Sections:

Simple Example

FAQs

Package last updated on 01 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc