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

minimo

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minimo

A Minimal Data Model Library

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

minimo

A Minimal Data Model Library

Note that you shouldn't use this library, it's just something to use to experiment with creating Javascript libraries.

About

A JavaScript library by Tom Haggie.

See the project homepage.

Installation

Using Bower:

bower install minimo

Or grab the source (minified).

Usage

Basic usage is as follows:

var MM = require('minimo'),
Person = MM({
  name: "",
  age: 0,
  likesCheese: true
}), // overriding default values at construction time
person = new Person({name: "Tom", age: 40});

console.log(person.name()); // writes out "Tom"

// fluent calling style
person
  .name("Elliott")
  .age(6);

console.log(person.name()); // writes out "Elliott"

For advanced usage, see the documentation.

Documentation

Start with docs/MAIN.md.

Contributing

We'll check out your contribution if you:

  • Provide a comprehensive suite of tests for your fork.
  • Have a clear and documented rationale for your changes.
  • Package these up in a pull request.

We'll do our best to help you out with any contribution issues you may have.

License

MIT. See LICENSE.txt in this directory.

FAQs

Package last updated on 06 Aug 2014

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