reduce npm file size from 46KB to 4.8KB