npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

moebio-framework

v0.4.6

Published

## What is this?

Downloads

6

Readme

Moebio Framework

What is this?

Moebio Framework is a JavaScript toolkit for performing data analysis and creating visualizations. It provides a canvas based graphics framework and data structures and operators for manipulating data.

Features

  • Fast canvas based 2D and 3D drawing api with mouse interaction
  • Text Rendering Support
  • Canvas based UI Elements like Color Pickers, Text Boxes and Tooltips
  • A Growing collection of tools for Statistics, Prediction, Math, Network Analysis and more!

Supported Browsers

Should work on most major browsers. Currently tested on Chrome (44+).

Getting Started

Download the pre-built files (minified and unminified) from the dist/ directory and start using in your project.

<script src="moebio_framework.js"></script>

For more info and examples, check out the website: http://moebiolabs.github.io/moebio_framework/.

Moebio Framework is on npm and bower as well.

npm install moebio-framework

or

bower install moebio-framework

will install from those sources.

Getting Help

Have questions? Comments? Suggestions? Ask away in the issues. Tag a question with the #question tag and we will do our best to answer.

Project Layout

Primary code in the Moebio Framework is organized in its src directory the following way:

  • dataTypes: basic data types for storing and manipulating different kinds of data.
  • tools: drawing tools for basic shapes, as well as helpers for interaction, data loading, and 3D.
  • visualization: functions for visualization the data types used in the framework
  • operators: more advanced functionality that work on instances of different data types.
  • index.js: This file defines the public interface of the framework.

Moebio Framework uses ES6 module syntax (transpiled using rollup) to define modules and dependencies. Note: it does not support the use of other ES6 features in the code.

To learn more about ES6 Modules, check out jsmodules.io and "ECMAScript 6 modules: the final syntax"

Dev Setup

If you would like to contribute to Moebio Framework, try out customizations locally, or just build from source, you can clone the repository and use the instructions below to get started.

Grunt is used as the build tool. So you need node.js and npm installed on your machine.

The project is built using grunt. Most of the grunt tasks are kept in separate files in the the /tasks folder.

Common Grunt tasks

Here's a short list of grunt tasks you might want to be familiar with:

grunt         # builds the dist/ files once
grunt watch   # builds dist files after every source code change
grunt doc     # build the docs using JSDoc
grunt release # build and deploy a new release of the software
grunt test    # run tests in a chrome window.
grunt jshint  # run hinting tool

Building Code

To build the source code, you will need Node and Grunt installed on your system.

First use NPM to install the Framework's dependencies:

npm install

Then the default Grunt task will concatenate the source files into the dist directory:

grunt

Building the Docs

The JSDoc format is used to annotate the source code and the JSDoc command line tool is used to generate the static API documentation used on the site.

After using npm install to download development dependencies, the documentation files can be generated locally using grunt:

grunt doc

This will build the documentation into the following directory:

docs/build

JSDoc templates can be found in docs/moebio-jsdoc and are directly inspired by the documentation of TurfJS.

Testing

Use:

grunt test

to run tests.

Tests are in tests/ directory and use the Karma testing framework.

Contributors