Experiment: how npmgraph could be implemented in declarative way?