{"action":"opened","issue":{"url":"https://api.github.com/repos/dfa1234/ngx-image-compress/issues/1","repository_url":"https://api.github.com/repos/dfa1234/ngx-image-compress","labels_url":"https://api.github.com/repos/dfa1234/ngx-image-compress/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dfa1234/ngx-image-compress/issues/1/comments","events_url":"https://api.github.com/repos/dfa1234/ngx-image-compress/issues/1/events","html_url":"https://github.com/dfa1234/ngx-image-compress/issues/1","id":355818217,"node_id":"MDU6SXNzdWUzNTU4MTgyMTc=","number":1,"title":"How to use this library?","user":{"login":"yashwp","id":13454790,"node_id":"MDQ6VXNlcjEzNDU0Nzkw","avatar_url":"https://avatars3.githubusercontent.com/u/13454790?v=4","gravatar_id":"","url":"https://api.github.com/users/yashwp","html_url":"https://github.com/yashwp","followers_url":"https://api.github.com/users/yashwp/followers","following_url":"https://api.github.com/users/yashwp/following{/other_user}","gists_url":"https://api.github.com/users/yashwp/gists{/gist_id}","starred_url":"https://api.github.com/users/yashwp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yashwp/subscriptions","organizations_url":"https://api.github.com/users/yashwp/orgs","repos_url":"https://api.github.com/users/yashwp/repos","events_url":"https://api.github.com/users/yashwp/events{/privacy}","received_events_url":"https://api.github.com/users/yashwp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-31T02:33:10Z","updated_at":"2018-08-31T02:33:10Z","closed_at":null,"author_association":"NONE","body":"`import {ImageCompress} from \"ngx-image-compress\";\r\n// To get your image data source string (aka \"data:image/jpeg:base64...\")\r\nImageCompress.uploadFile(...)\r\n// To start the compression\r\nImageCompress.compress(...)`\r\n\r\nThis is the only thing given in your doc. But I want to know how can I use this? Can you post a working example with `<input type=\"file\">`"}}
{"actor":{"display_login":"yashwp"}}