skeleton of npm.to_chunk. we don't know what it outputs yet, but whatever it outputs, it outputs it in yaml.