Skip to content

About

Parts of Occam's model.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,117 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Occam Model

Parts of Occam's model.

Contents

Introduction

Parts of Occam's model, such as files, projects, versions and so on.

Installation

With npm:

npm install occam-model

You can also clone the repository with Git...

git clone https://github.com/djalbat/occam-model.git

...and then install the dependencies with npm from within the project's root directory:

npm install

Usage

The exported classes are:

  • File
  • Files
  • Version
  • Entries
  • Project
  • Release
  • Projects
  • Releases
  • Dependency
  • Dependencies
  • ShortenedVersion

There are also some utilities:

  • contentUtilities
  • filePathUtilities
  • metaJSONUtilities

The classes have factory methods, see the source for details. Typical usage is:

const { File }} = require('occam-model');

const json = ... ,
      file = file.fromJSON(json);

...

See the source for further information on the utilities.

In short, this package has little of use and only a little more of interest.

Building

Automation is done with npm scripts, have a look at the package.json file. The pertinent commands are:

npm run build-debug
npm run watch-debug

Contact

About

Parts of Occam's model.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages