{"action":"created","issue":{"url":"https://api.github.com/repos/mattdesl/urify/issues/2","labels_url":"https://api.github.com/repos/mattdesl/urify/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mattdesl/urify/issues/2/comments","events_url":"https://api.github.com/repos/mattdesl/urify/issues/2/events","html_url":"https://github.com/mattdesl/urify/issues/2","id":109248444,"number":2,"title":"Possible not to inline datauri?","user":{"login":"cheapsteak","id":743976,"avatar_url":"https://avatars.githubusercontent.com/u/743976?v=3","gravatar_id":"","url":"https://api.github.com/users/cheapsteak","html_url":"https://github.com/cheapsteak","followers_url":"https://api.github.com/users/cheapsteak/followers","following_url":"https://api.github.com/users/cheapsteak/following{/other_user}","gists_url":"https://api.github.com/users/cheapsteak/gists{/gist_id}","starred_url":"https://api.github.com/users/cheapsteak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheapsteak/subscriptions","organizations_url":"https://api.github.com/users/cheapsteak/orgs","repos_url":"https://api.github.com/users/cheapsteak/repos","events_url":"https://api.github.com/users/cheapsteak/events{/privacy}","received_events_url":"https://api.github.com/users/cheapsteak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-01T07:58:16Z","updated_at":"2015-10-01T14:00:07Z","closed_at":null,"body":"The datauri returned is quite large  \r\nWould be great if I could only bundle it once a la stringify"},"comment":{"url":"https://api.github.com/repos/mattdesl/urify/issues/comments/144734492","html_url":"https://github.com/mattdesl/urify/issues/2#issuecomment-144734492","issue_url":"https://api.github.com/repos/mattdesl/urify/issues/2","id":144734492,"user":{"login":"mattdesl","id":1383811,"avatar_url":"https://avatars.githubusercontent.com/u/1383811?v=3","gravatar_id":"","url":"https://api.github.com/users/mattdesl","html_url":"https://github.com/mattdesl","followers_url":"https://api.github.com/users/mattdesl/followers","following_url":"https://api.github.com/users/mattdesl/following{/other_user}","gists_url":"https://api.github.com/users/mattdesl/gists{/gist_id}","starred_url":"https://api.github.com/users/mattdesl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattdesl/subscriptions","organizations_url":"https://api.github.com/users/mattdesl/orgs","repos_url":"https://api.github.com/users/mattdesl/repos","events_url":"https://api.github.com/users/mattdesl/events{/privacy}","received_events_url":"https://api.github.com/users/mattdesl/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T14:00:07Z","updated_at":"2015-10-01T14:00:07Z","body":"A really simple workaround:\r\n\r\n`image.js`\r\n```js\r\nmodule.exports = require('datauri')(__dirname + '/myimage.png')\r\n```\r\n\r\nThen:\r\n\r\n`foo.js`\r\n```js\r\nvar uri = require('../image.js')\r\n```\r\n"}}