File tree Expand file tree Collapse file tree 2 files changed +25
-9
lines changed
Expand file tree Collapse file tree 2 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " lup-system" ,
3- "version" : " 1.3.2 " ,
3+ "version" : " 1.3.3 " ,
44 "description" : " NodeJS library to retrieve system information and utilization." ,
5- "files" : [
6- " lib/**/*"
7- ],
8- "main" : " lib/index.js" ,
9- "types" : " lib/index.d.ts" ,
5+ "main" : " ./lib/index" ,
6+ "types" : " ./lib/index.d.ts" ,
7+ "files" : [ " lib/**/*" ],
8+ "exports" : {
9+ "." : " ./lib/index.js" ,
10+ "./cpu" : " ./lib/cpu.js" ,
11+ "./drive" : " ./lib/drive.js" ,
12+ "./gpu" : " ./lib/gpu.js" ,
13+ "./net" : " ./lib/net.js" ,
14+ "./os" : " ./lib/os.js" ,
15+ "./temperature" : " ./lib/temperature.js" ,
16+ "./utils" : " ./lib/utils.js"
17+ },
1018 "scripts" : {
1119 "test" : " jest --config jestconfig.json" ,
1220 "build" : " tsc" ,
Original file line number Diff line number Diff line change 1+ export * from './cpu' ;
2+ export * from './drive' ;
3+ export * from './gpu' ;
4+ export * from './net' ;
5+ export * from './os' ;
6+ export * from './temperature' ;
7+ export * from './utils' ;
8+
19import * as cpu from './cpu' ;
210import * as drive from './drive' ;
311import * as gpu from './gpu' ;
@@ -7,9 +15,9 @@ import * as temperatures from './temperature';
715import * as utils from './utils' ;
816
917/**
10- * Utility functions for interacting with the operating system.
18+ * Utility functions for interacting with the system.
1119 */
12- const osUtils = {
20+ const lupSystem = {
1321 ...cpu ,
1422 ...drive ,
1523 ...gpu ,
@@ -18,4 +26,4 @@ const osUtils = {
1826 ...temperatures ,
1927 ...utils ,
2028} ;
21- export default osUtils ;
29+ export default lupSystem ;
You can’t perform that action at this time.
0 commit comments