Cinque Terre
为您团队和您的公司带来优质的开源软件包
EdgerOS Package Manager

This site hosts open source Javascript packages that run on EdgerOS®.

Note, here we serve @edgeros scoped packages only.

Usage

All you need is the npm command and an AcoID to consume from or publish to this registry.


Login

# will be prompt for your AcoID username, password and a public email
npm login --registry=https://registry.epm.edgeros.com --scope=@edgeros

Please be noted, the npm 7.7.0+ has a bug that 'scope' might be lost during npm login. You should manually add below line into your .npmrc after successful EPM login.

@edgeros:registry=https://registry.epm.edgeros.com/

Install

npm install @edgeros/welcome

Publish

# create an empty project direcotry
mkdir my_package
# change current directory into the project
cd my_package
# be sure to name the package with '@edgeros/' scope prefix here!
npm init
# be sure to include your awesome code before publish step
touch index.js
# the publish should success if the name is available
npm publish

Check npm publish for more information about package publishing.

Contact

Contact us epm@edgeros.com


Copyright 2021 © ACOINFO.All Rights Reserved. 京ICP备20010248号-5 | Website | Terms of Use