Skip to content

Binary wrapper that makes your programs seamlessly available as local dependencies

License

Notifications You must be signed in to change notification settings

liuliudada-w/bin-wrapper-china

 
 

Repository files navigation

bin-wrapper-china

Binary mirror download link replacement for mainland China.

Fork from bin-wrapper.

Install

Use yarn to replace bin-wrapper.

// package.json
{
	"resolutions": {
		"bin-wrapper": "npm:bin-wrapper-china"
	}
}
yarn install

API

Same as bin-wrapper.

Inject mirror url to process.env

// package.json
{
	"scripts": {
		"preinstall": "china-bin-env"
	}
}

Related

https://github.com/cnpm/binary-mirror-config

About

Binary wrapper that makes your programs seamlessly available as local dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%