- published 1.0.1 7 years ago
and transform String, Number, Boolean to key:value and fill them into one-dimensional Object; #### Now I use it to flat arguments to flat-object just like this: ``` let flat = require('./to-flat-obj'); function example1(){ let flat-object = flat(
published 1.0.1 7 years ago``` let genPort = require('./pServer'); console.log(genPort(4003, {4442: 8723, a: 8832}, [4222, 8797]));; ``` #### 输出类似如下: ``` 写入ports.json成功! 异步读取数据: [{"4003":4003,"4222":4222,"4442":8723,"8797":8797,"a":8832}] ```
published 1.0.0 7 years agoSet fontSize onresize. you can use window.setFontSize_onresize to use it, details is in the source code.
published 1.0.1 7 years ago