postmate
postmate copied to clipboard
if (process.env.NODE_ENV !== 'production') {
What Is the issue?
There are many calls to the node process
global which is not present in the browser.
EG:
https://github.com/dollarshaveclub/postmate/blob/master/src/postmate.js#L128
I cannot see anything about this in the readme but of course it break when i try to run things.
Is project still being actively maintained by the maintainers?
There are a lot of outstanding issues and PRs that are not being addressed.
@aptran @funbunch @hlfcoding
@Acrontum-Carmichael I have also created an Issue of the question before on another matter, but I haven't received a response to that one. It's been 9 months since the last master merge, plus the release to npm has had no activity for over a year. I have decided that this is not healthy and I have switched to another package that provides the same functionality. https://github.com/krakenjs/post-robot
Thanks for the tip @aiji42 :+1:
Although true @aiji42 - the size of this repo is significantly smaller that post-robot.. postmate = 4.3kb minified post-robot = 38.7kb minified
https://www.npmjs.com/package/penpal
This guy seems to have a decent alternative - in the readme he give credit for inspiration to this lib.
.min version is around 6kb so still reasonably lightweight @aiji42
https://www.npmjs.com/package/postmatex
until the new devs want it back.
open to anyone wanting to help keep it alive.
all outstanding prs merged in and deps updated.