Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

core-canvas-image-helper

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-canvas-image-helper

a pure JavaScript lib to handle image via canvas

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

core-canvas-image-helper

A pure JavaScript library to handle image via canvas.

How to use

npm install core-canvas-image-helper -save
// es6
import canvasHelper from 'core-canvas-image-helper';
// src specify an image src (url or base64)
canvasHelper.rotate(src, degress, (data, w, h) => {
  // your code here
});

API

  • compress

  • crop

  • rotate

  • reszie

Keywords

image

FAQs

Package last updated on 07 Jan 2018

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