{"action":"created","issue":{"url":"https://api.github.com/repos/plotly/react-ipython-notebook/issues/6","labels_url":"https://api.github.com/repos/plotly/react-ipython-notebook/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/plotly/react-ipython-notebook/issues/6/comments","events_url":"https://api.github.com/repos/plotly/react-ipython-notebook/issues/6/events","html_url":"https://github.com/plotly/react-ipython-notebook/issues/6","id":126084615,"number":6,"title":"Dependency deprecation, futures","user":{"login":"rgbkrk","id":836375,"avatar_url":"https://avatars.githubusercontent.com/u/836375?v=3","gravatar_id":"","url":"https://api.github.com/users/rgbkrk","html_url":"https://github.com/rgbkrk","followers_url":"https://api.github.com/users/rgbkrk/followers","following_url":"https://api.github.com/users/rgbkrk/following{/other_user}","gists_url":"https://api.github.com/users/rgbkrk/gists{/gist_id}","starred_url":"https://api.github.com/users/rgbkrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgbkrk/subscriptions","organizations_url":"https://api.github.com/users/rgbkrk/orgs","repos_url":"https://api.github.com/users/rgbkrk/repos","events_url":"https://api.github.com/users/rgbkrk/events{/privacy}","received_events_url":"https://api.github.com/users/rgbkrk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2016-01-12T02:43:36Z","updated_at":"2016-01-28T19:57:00Z","closed_at":null,"body":"Heyo!\r\n\r\nThe current `package.json` won't install because of changes to a package name:\r\n\r\n```\r\nnpm ERR! addLocal Could not install /Users/kyle6475/code/src/github.com/plotly/react-ipython-notebook/lib\r\nnpm WARN deprecated mdast-react@0.3.0: Renamed to `remark-react`\r\nnpm ERR! Darwin 14.5.0\r\nnpm ERR! argv \"/Users/kyle6475/.nvm/versions/node/v5.1.0/bin/node\" \"/Users/kyle6475/.nvm/versions/node/v5.1.0/bin/npm\" \"install\"\r\nnpm ERR! node v5.1.0\r\nnpm ERR! npm  v3.3.12\r\n\r\nnpm ERR! No version provided in package.json\r\nnpm ERR!\r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/kyle6475/code/src/github.com/plotly/react-ipython-notebook/npm-debug.log\r\n```\r\n\r\n*However*, I've got some React components for you that do translation of the notebook to the same format you would expect in the notebook (styling is up to you still). The one you're likely most interested in is [react-jupyter-display-area](https://github.com/nteract/react-jupyter-display-area).\r\n\r\nSince this is being used in a live runnable version of the notebook, called [composition](https://github.com/nteract/composition), we require the props to be immutable, particularly Immutable.js.\r\n\r\n```jsx\r\nimport Display from 'react-jupyter-display-area';\r\n\r\n<Display outputs={this.props.outputs} />\r\n```\r\n\r\nWe've also made a library for converting the on-disk notebook format to the one that tends to be used in memory, called [`commutable`](https://github.com/nteract/commutable).\r\n\r\n```es6\r\nvar commutable = require('commutable');\r\ncommutable.fromJS(notebookJSON);\r\n```\r\n\r\nI've been planning on using this anyways for a static version of the notebook, so I thought I'd highlight this here since you're well on the way. Of note though, if you plan to host arbitrary notebooks be mindful of the fact that letting the user's raw HTML means they can run whatever they want on your domain. There are solutions for that too and we can talk about that later.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/plotly/react-ipython-notebook/issues/comments/176375989","html_url":"https://github.com/plotly/react-ipython-notebook/issues/6#issuecomment-176375989","issue_url":"https://api.github.com/repos/plotly/react-ipython-notebook/issues/6","id":176375989,"user":{"login":"rreusser","id":572717,"avatar_url":"https://avatars.githubusercontent.com/u/572717?v=3","gravatar_id":"","url":"https://api.github.com/users/rreusser","html_url":"https://github.com/rreusser","followers_url":"https://api.github.com/users/rreusser/followers","following_url":"https://api.github.com/users/rreusser/following{/other_user}","gists_url":"https://api.github.com/users/rreusser/gists{/gist_id}","starred_url":"https://api.github.com/users/rreusser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rreusser/subscriptions","organizations_url":"https://api.github.com/users/rreusser/orgs","repos_url":"https://api.github.com/users/rreusser/repos","events_url":"https://api.github.com/users/rreusser/events{/privacy}","received_events_url":"https://api.github.com/users/rreusser/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T19:57:00Z","updated_at":"2016-01-28T19:57:00Z","body":"I can have a module up in like five minutes if that helps? I believe licensing permits it but need to double-check."}}