safety implementations of nodejs