A node implementation of sed