package
Graphic Objects Library
npm install g.jsGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
g.js is a JavaScript library for working with graphical objects. It provides a unified API for working with vector graphics (rectangles, paths, and text) and images.
Download the latest ZIP and grab the files in the dist folder.
These are compiled.
To install using Bower, enter the following command in your project directory:
bower install g.jsYou can then include them in your scripts using:
<script src="/bower_components/g.js/dist/g.js"></script>To install using Browserify, enter the following command in your project directory:
npm install --save g.jsWe use a set of npm scripts to build releases:
Running npm run watchify will automatically create new builds in the build directory whenever the source changes.
Running npm run dist will build a complete and minified version of g.js in the dist folder. You can also run
npm run browserify and npm run uglify separately.
package.json.npm run dist to update the files in the dist folder.git commit -a) and create a tag (e.g. git tag 1.2.1). Push and push tags (git push && git push --tags).npm publish to publish the package to npm.ptr_here
pieter.heremans@gmail.com
Estimated unpacked size across 10 packages.
2.9 MB
Includes dependencies.
9 direct · 2 outdated
^2.1.4
3.2.6
^0.1.27
0.6.0
^1.0.0
1.0.0
^4.6.0
4.6.0
^4.3.0
4.3.0
^4.2.0
4.2.0