{"action":"created","issue":{"url":"https://api.github.com/repos/schickling/calculate-size/issues/7","repository_url":"https://api.github.com/repos/schickling/calculate-size","labels_url":"https://api.github.com/repos/schickling/calculate-size/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/schickling/calculate-size/issues/7/comments","events_url":"https://api.github.com/repos/schickling/calculate-size/issues/7/events","html_url":"https://github.com/schickling/calculate-size/issues/7","id":357573210,"node_id":"MDU6SXNzdWUzNTc1NzMyMTA=","number":7,"title":"How to import this in Angular5?","user":{"login":"MichaelLawrenceDee","id":8530413,"node_id":"MDQ6VXNlcjg1MzA0MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/8530413?v=4","gravatar_id":"","url":"https://api.github.com/users/MichaelLawrenceDee","html_url":"https://github.com/MichaelLawrenceDee","followers_url":"https://api.github.com/users/MichaelLawrenceDee/followers","following_url":"https://api.github.com/users/MichaelLawrenceDee/following{/other_user}","gists_url":"https://api.github.com/users/MichaelLawrenceDee/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelLawrenceDee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelLawrenceDee/subscriptions","organizations_url":"https://api.github.com/users/MichaelLawrenceDee/orgs","repos_url":"https://api.github.com/users/MichaelLawrenceDee/repos","events_url":"https://api.github.com/users/MichaelLawrenceDee/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelLawrenceDee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-06T09:35:05Z","updated_at":"2018-10-07T21:14:36Z","closed_at":null,"author_association":"NONE","body":"By using npm install, I obtained a ts file and a js file.\r\nI tried using the following code in my ts file\r\n`import { calculateSize } from 'calculate-size';`\r\nbut there is no exported module of such. How do I use this exactly? `Size` does not work either."},"comment":{"url":"https://api.github.com/repos/schickling/calculate-size/issues/comments/427687626","html_url":"https://github.com/schickling/calculate-size/issues/7#issuecomment-427687626","issue_url":"https://api.github.com/repos/schickling/calculate-size/issues/7","id":427687626,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzY4NzYyNg==","user":{"login":"misha130","id":6649900,"node_id":"MDQ6VXNlcjY2NDk5MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6649900?v=4","gravatar_id":"","url":"https://api.github.com/users/misha130","html_url":"https://github.com/misha130","followers_url":"https://api.github.com/users/misha130/followers","following_url":"https://api.github.com/users/misha130/following{/other_user}","gists_url":"https://api.github.com/users/misha130/gists{/gist_id}","starred_url":"https://api.github.com/users/misha130/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misha130/subscriptions","organizations_url":"https://api.github.com/users/misha130/orgs","repos_url":"https://api.github.com/users/misha130/repos","events_url":"https://api.github.com/users/misha130/events{/privacy}","received_events_url":"https://api.github.com/users/misha130/received_events","type":"User","site_admin":false},"created_at":"2018-10-07T21:14:36Z","updated_at":"2018-10-07T21:14:36Z","author_association":"NONE","body":"`import calculateSize from 'calculate-size'\r\n`\r\nand then just use calculateSize('text', {});"}}
{"actor":{"display_login":"misha130"}}