This package has been deprecated

Author message:

WARNING: This project has been renamed to origraph. Install using origraph instead.

mure

0.5.10 • Public • Published

mure.js

Build Status Coverage Status

mure.js is a library for wrangling graph data. Graph constructs (like what is a node, and what is an edge) are deliberately lightweight, so that they are easy to map (and re-map) to data items, regardless of how the raw data is structured.

Operations

Be advised that this is project is very work-in-progress, and is being implemented in parallel with Origraph, a non-programmer's visual interface for using this library. Expect frequent sweeping changes and poor documentation for now, especially as we explore and refine what constructs and operations are even important for this graph data wrangling.

Installation

For basic use in the browser:

<script src="https://cdn.jsdelivr.net/npm/mure@0.5.10/dist/mure.umd.min.js"></script>

For server-side apps or pre-bundled browser apps:

npm install mure

However, for the latter, be advised that some of the dependencies of this library result in webpack / rollup / whatever configuration hell. If you discover a configuration that actually works, we'd love to hear about it!

Development

Setup:

git clone https://github.com/mure-apps/mure-library.git
cd mure-library
npm install

Debugging:

When debugging with the test scripts, launch these as parallel processes:

npm run watchcjs
npm run debug

Debugging in the browser:

When debugging in the browser, launch this in parallel to whatever you're using to debug / serve your web app (make sure to point your app to the built dist/mure.umd.js file):

npm run watchumd

Releasing a new version

A list of reminders to make sure we don't forget any steps:

  • git checkout master
  • git merge <branch>
  • Run npm-check-updates
  • Update the version in package.json
  • Update the release link in this README
  • npm run build
  • npm run test
  • git commit -a -m "commit message"
  • git push
  • (Verify Travis CI doesn't fail)
  • git tag -a #.#.# -m "tag annotation"
  • git push --tags
  • npm publish
  • (maybe optional) Edit / document the release on Github, add built files in dist

Readme

Keywords

none

Package Sidebar

Install

npm i mure

Weekly Downloads

38

Version

0.5.10

License

MIT

Unpacked Size

1.76 MB

Total Files

6

Last publish

Collaborators

  • alex-r-bigelow