Jim Fisher
Jim Fisher
@mgutz unfortunately `strings.Join` isn't an option due to the obvious bugs it would introduce (think `strings.Join(string[]{"foo bar", "baz"})`). Is it possible for godo to expose a saner lower-level API where...
Oh well :(
Thanks for the reply @mfix-stripe. Yep, I do need to write it to the file, because it has to remain stable. (Btw, I'm looking at using https://github.com/remarkjs/remark instead, because it...
I just hit this issue too. @Brooooooklyn is there any workaround? (I can't change the code to use dynamic imports.)
I use https://star-history.com/ alongside https://npmtrends.com/, but it would great if the star history was integrated into npm-trends!
Or as a cheaper first draft: just link to star-history.com for the same set of packages. E.g. the page at https://npmtrends.com/react-beautiful-dnd-vs-react-dnd-vs-react-draggable would generate a link to: https://star-history.com/#atlassian/react-beautiful-dnd&react-dnd/react-dnd&react-grid-layout/react-draggable&Date and just call...
I think the problem is this line: https://github.com/stream-utils/raw-body/blob/6bfe9bc824829485702994ca56e8016bbba87de6/index.d.ts#L87 Should this not be `export default getRawBody;`?
I don't know much either, and the JS/TS/CommonJS/ES6 compatibility is a horror story ... I see now that your implementation literally does `module.exports = getRawBody`. So to import this module...
@PindaPixel you should just be able to copy-paste the above definitions in your own file - possibly wrapping it all in `declare global { ... }`
Specifically the demo gives me the business website `https://roastery.stripe.dev/p/has-bean`. Interestingly, [this settings page](https://roastery.stripe.dev/dashboard/settings) shows my "platform url" as `http://roastey.com/p/has-bean`, but this seems unimplemented?