Socket
Socket
Sign inDemoInstall

@edsdk/imgpen-example

Package Overview
Dependencies
3
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @edsdk/imgpen-example

Examples of ImgPen image editor usage in web applications and websites


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Install size
13.3 MB
Created
Weekly downloads
 

Readme

Source

ImgPen example

How to use ImgPen image editor code samples

Here is the couple of ImgPen usage examples in TypeScript/JavaScript code with comments.

Server side is also bundled in this repo to allow you upload edited images and update them on client. Backend is provided by File Uploader microservice based on Express.

Project can be built with Webpack and ran instantly after you download it, no other webserver (like Nginx or Apache) is required.

Install, build, run

  1. Clone this repository:
git clone https://github.com/edsdk/imgpen-example
cd imgpen-example
  1. Build and run it
npm i
npm run start

Then open localhost:8080 URL in your browser and enjoy the demo.

Explanation

There are two simple examples inside this demo, you can check there TypeScript source in src/imgpen-example.ts. If you use EcmaScript (JavaScript) the code will be very similar for you.

Examples let you to edit images and upload them into www/images directory.

In your project you will use the same File Uploader backend (other supported languages: PHP, Java, etc), probably as microservice.

See Also

License

BSD

Keywords

FAQs

Last updated on 03 May 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc