the-2d

1.0.9 • Public • Published

the-2d

Build Status npm Version JS Standard

2D Graphic utilities

Installation

$ npm install the-2d --save

Usage

'use strict'
 
const { Rect } = require('the2d/structs')
 
async function tryExample () {
  const rect = new Rect(0, 0, 100, 200)
  console.log(rect.contains(10, 20)) // -> true
}
 
tryExample().catch((err) => console.error(err))
 

API Guide

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-2d

Weekly Downloads

5

Version

1.0.9

License

MIT

Unpacked Size

90 kB

Total Files

54

Last publish

Collaborators

  • okunishinishi