nexus:Nexus OSS REST API的JSTS客户端 源码
@ qiwi / nexus 用于的组件的Monorepo 生成了用于Nexus API的客户端。 import { ComponentsApi } from '@qiwi/nexus-client' const options = { auth : { password : 'secretPassword' , username : 'j.sins' } } const api = new ComponentsApi ( { basePath : 'your Nexus API URL' , baseOptions : options } ) api . getComponentById ( 'bnBtLWludGVybmFsOjFjNzg3YTAzZGI4MjA5ZWI2MDUyOTU1MjUwNWFlMmNh' ) . then ( d