New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

file-concept-network

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-concept-network

ConceptNetwork with file persistance.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

file-concept-network Build Status NPM version

Concept Network is weighted directed graph, in which activation values are propagated. Written in Node.js.

File Concept Network is the version with file system persistence.

Getting Started

Install the module with: npm install file-concept-network

var FileConceptNetwork = require('file-concept-network').FileConceptNetwork;
var fcn = new FileConceptNetwork();
var node1 = fcn.addNode("ECTOR");
var node2 = fcn.addNode("knows");
var node3 = fcn.addNode("Achille");
fcn.addLink(node1.id, node2.id);
fcn.addLink(node2.id, node3.id);
fcn.save('cn.json', function (err) {
  if (err) {
    console.error(err);
  }
});

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint, and test your code using mocha.

Release History

  • 2014/08/07: version 0.1.2: treat error cases
  • 2013/01/25: version 0.1.1: fix npm module
  • 2013/01/19: version 0.1.0

License

Copyright (c) 2013 François Parmentier Licensed under the MIT license.

Keywords

graph

FAQs

Package last updated on 07 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