@iceworks/config
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@iceworks/config

import * as iceworksConfig from '@iceworks/config';

iceworksConfig.get();

Config

interface IConfig {
  npmClient?: string;
  registry?: string;
  unpkgHost?: string;
  'fusion-token'?: string;
  'fusion-token-ali'?: string;
}

API

get

const config = iceworksConfig.get();
const npmClient = iceworksConfig.get('npmClient');

set

const config = iceworksConfig.set('npmClient', 'cnpm');

remove

const config = iceworksConfig.remove('npmClient');

addProject

TODO

removeProject

TODO

addMaterial

TODO

removeMaterial

TODO

Readme

Keywords

none

Package Sidebar

Install

npm i @iceworks/config

Weekly Downloads

2

Version

1.0.6

License

none

Unpacked Size

12.8 kB

Total Files

7

Last publish

Collaborators

  • fyangstudio
  • luhengchang228
  • rax-publisher
  • alvinhui
  • empireo
  • sobear
  • yuanyan