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

mi-model

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mi-model

Model for representing Molecular Interaction data

  • 0.5.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

MI-Model

A NodeJS package for parsing Molecular Interaction JSON data produced by JAMI

Installation

via npm

npm install --save mi-model
MIModel = require('mi-model');

via bower

bower install --save mi-model
<script src="bower_components/mi-model/dist/mi-model.js"></script>

Usage

$.get( "json/EBI-9082861.json", function( data ) {

  new MIModel(data).load().then(function(model) {
    console.log("model", model);
  });
  
  // MIModel(data) returns a Backbone model structure representing the JAMI JSON.
  
  // Optionally you can chain the .load() function which returns
  // a Promise to fetch sequence lengths from uniprot.

});

Model Relationships

alt tag

FAQs

Package last updated on 18 Jul 2017

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