New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

transform-matrix

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transform-matrix

ES6 Matrix for transform attribute manipulation

latest
Source
npmnpm
Version
0.0.4
Version published
Weekly downloads
12
-64.71%
Maintainers
1
Weekly downloads
 
Created
Source

TransformMatrix

ES6 Matrix for transform attribute manipulation

Install

npm install transform-matrix

Usage

As it's an implementation of the 2D Affine Transformation Matrix. Most of usage can be read here.

deserialize / serialize

import Matrix from 'transform-matrix';

let matrix = Matrix.deserialize('matrix(1,0,0,1,0,0)');

matrix = matrix.translate(88, 99);

console.log(matrix.serialize()); // matrix(1,0,0,1,88,99)

FAQs

Package last updated on 20 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts