Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2219 days ago. link 1 point
Cool... had setup something similar recently, only implemented sqlite currently.  May switch to this if I'm able.

I did have two other pieces though... I had a lookup for startsWith and a deleteStartingWith, to remove/query anything that starts with the string, kind of a wildcard match.
tracker1 2222 days ago. link 2 points
I mean, if it's once in a while it wouldn't bug me... but saw 3-4 for a specific service in the past couple days alone.
tracker1 2225 days ago. link 1 point
Requires Trucaller app be installed on the device, beyond this, no information on what activity or information the app itself gathers, only mentions they don't track your app's activity, which is meaningless in context.

No clear information on the Trucaller revenue model at all, and unclear on any other potential gotchas.

You're probably better off using Twillio or another SMS backend with OTP verification methods in practice.  Aside: I just don't trust outsourcing your authentication, I think it's a bad idea to literally outsource your user access and has so much potential for abuse.  Similarly I wouldn't recommend using Firebase or Auth0 as primary authentication interfaces either.
tracker1 2225 days ago. link 1 point
In addition to #3

    let { propToRemove, ...newObj } = oldObj;

then throw away the propToRemove.

Also, if you are serializing and set the value to `undefined`, then it won't be JSON stringified into the output.
tracker1 2225 days ago. link 2 points
Nice intro to hashing and bcrypt library.  I've tended to favor pbkdf2 lately, mostly because it's "in the box" and has generally been a hard requirement (NIST recommended) for some of the work I do (government clients).

I would suggest considering going to 12 rounds over 10, if your deployment server can handle it.  It does become a potential DDoS attack vector if you aren't tracking/limiting failed attempts by user and IP.
tracker1 2228 days ago. link 2 points
20+ years in and people still need beginner articles on `this`.
tracker1 2228 days ago. link 1 point
I'm not a fan of RxJS for several reasons.  RxJS is pretty big in and of itself for what it does, and I find the Redux patterns easier to reason with the larger your application gets.
[more]