[package] made npm method sync