Message from JavaScript discussions

July 2017

— Pushdown automation might be an easy way to implement that algorithm

— 

For hello we can construct a DFA such that the full input string will construct a running list of encountered, matching input strings:

-->(s1)-h->(s2)-e->(s3)-l->(s4)-l->(s5)-o->((s6))

    ^___________________ε___________________/

— Then it becomes a graph theory problem, one of the best fun ways to solve any problem :)

— A nodejs question
I have X module in node_modules folder
How could I know which package pulled this X module?

Message permanent page

— npm ls

— In your main project folder

— No thanks tbh

— Hahaha

— Fun ways to solve easy problems in complicated ways - An interactive guide - By Dani

— Hmm, it's print dependencies tree
A bit confusing if the tree is large

BTW, thanx

— npm ls --depth=1

— Or 0