{"action":"created","issue":{"url":"https://api.github.com/repos/tkellen/node-rechoir/issues/6","labels_url":"https://api.github.com/repos/tkellen/node-rechoir/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/tkellen/node-rechoir/issues/6/comments","events_url":"https://api.github.com/repos/tkellen/node-rechoir/issues/6/events","html_url":"https://github.com/tkellen/node-rechoir/issues/6","id":53217195,"number":6,"title":"Allow users to provide a custom node-interpret.js module for adhoc extension of the supported languages","user":{"login":"silkentrance","id":6068824,"avatar_url":"https://avatars.githubusercontent.com/u/6068824?v=3","gravatar_id":"","url":"https://api.github.com/users/silkentrance","html_url":"https://github.com/silkentrance","followers_url":"https://api.github.com/users/silkentrance/followers","following_url":"https://api.github.com/users/silkentrance/following{/other_user}","gists_url":"https://api.github.com/users/silkentrance/gists{/gist_id}","starred_url":"https://api.github.com/users/silkentrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silkentrance/subscriptions","organizations_url":"https://api.github.com/users/silkentrance/orgs","repos_url":"https://api.github.com/users/silkentrance/repos","events_url":"https://api.github.com/users/silkentrance/events{/privacy}","received_events_url":"https://api.github.com/users/silkentrance/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-01T10:32:26Z","updated_at":"2015-02-14T20:50:06Z","closed_at":null,"body":"For starters, and as a follow up to the discussion we had about making this more versatile over at tkellen/node-interpret#12, I'd like to propose that\r\n\r\n - users can provide their own 'interpret-custom' module, that when available, will be mixed into the existing interpret registry\r\n - here, users can provide their own extension to registration module mappings\r\n\r\nUpon load, node-rechoir will by require its own interpret module. In addition to that, it will also look for a interpret-custom and try to require that as well. When available, it will merge in the mappings found in interpret-custom into those from the standard interpret, overwriting existing or adding new mappings.\r\n\r\nIn order to prevent encouraging users from publishing a node-interpret-custom or interpret-custom package to NPM, node-rechoir will look in the following locations\r\n\r\n - package-root/interpret-custom.js\r\n - package-root/src/interpret-custom.js\r\n - package-root/lib/interpret-custom.js\r\n\r\nIt will not use standard node package/module resolving, so placing this under node_modules will have no effect.\r\n\r\nThe package-root is assumed to be equal to the cwd variable, or, if that is missing, it will be determined from the resolved absolute path of the specified filepath, looking for either package.* or 'src' or 'lib', or 'node_modules'.\r\n"},"comment":{"url":"https://api.github.com/repos/tkellen/node-rechoir/issues/comments/74391415","html_url":"https://github.com/tkellen/node-rechoir/issues/6#issuecomment-74391415","issue_url":"https://api.github.com/repos/tkellen/node-rechoir/issues/6","id":74391415,"user":{"login":"silkentrance","id":6068824,"avatar_url":"https://avatars.githubusercontent.com/u/6068824?v=3","gravatar_id":"","url":"https://api.github.com/users/silkentrance","html_url":"https://github.com/silkentrance","followers_url":"https://api.github.com/users/silkentrance/followers","following_url":"https://api.github.com/users/silkentrance/following{/other_user}","gists_url":"https://api.github.com/users/silkentrance/gists{/gist_id}","starred_url":"https://api.github.com/users/silkentrance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silkentrance/subscriptions","organizations_url":"https://api.github.com/users/silkentrance/orgs","repos_url":"https://api.github.com/users/silkentrance/repos","events_url":"https://api.github.com/users/silkentrance/events{/privacy}","received_events_url":"https://api.github.com/users/silkentrance/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T20:50:06Z","updated_at":"2015-02-14T20:50:06Z","body":"Could this be merge to master or are there any objections to this?"}}