ng2-cloudinary
Demo
https://ekito.github.io/ng2-cloudinary/demo/
Table of contents
About
Angular2 components for Cloudinary image back-end
Installation
Install through npm:
npm install --save ng2-cloudinary
Usage
You may also find it useful to view the demo source.
Module imports
//demo.module.ts;; ;;;
cl-image or CloudinaryImageComponent
This directive allows displaying Cloudinary image and apply transformations
//demo.component.ts;;
CloudinaryUploader
This service allows uploading files to cloudinary using ng2-file-upload dependency.
//demo.component.ts;;
Documentation
All documentation is auto-generated from the source via typedoc and can be viewed here: https://ekito.github.io/ng2-cloudinary/docs/
Development
Prepare your environment
- Install Node.js and NPM (should come with)
- Install local dev dependencies:
npm install
while current directory is this repo
Development server
Run npm start
to start a development server on port 8000 with auto reload + tests.
Testing
Run npm test
to run tests once or npm run test:watch
to continually run tests.
Release
- Bump the version in package.json (once the module hits 1.0 this will become automatic)
npm run release
License
MIT