Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@edsdk/imgpen-example

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

@edsdk/imgpen-example

Examples of ImgPen image editor usage in web applications and websites

  • 1.0.1
  • npm
  • Socket score

Version published
Maintainers
1
Created
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, ASP.NET, etc), probably as microservice.

See Also

License

BSD

Keywords

FAQs

Package last updated on 27 Feb 2019

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc