Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

specs_window

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

specs_window - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

libs/DriveSize.hpp

3

bio.md

@@ -8,1 +8,4 @@

List File in deritory:
https://learn.microsoft.com/en-us/windows/win32/fileio/listing-the-files-in-a-directory

@@ -5,2 +5,3 @@ const specs = require('./build/Release/specs_window');

async function Kill_Processe(PID){ return specs.KillProcesse(PID) }
async function FilesPath(Path){ return specs.getFilesPath(Path) }

@@ -22,2 +23,3 @@ module.exports = {

KillProcesse: Kill_Processe,
getFilesPath: FilesPath,
}

2

package.json
{
"name": "specs_window",
"version": "1.5.0",
"version": "1.6.0",
"description": "It is a NodeJS module to get hardware informacions.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ # Specs for Windows 🪟:

## Project info:
- author: Riseghost 👻
- author: Riseghost 👻
- languague: C/C++

@@ -30,3 +30,4 @@ - platform support: Windows 🪟

- Move Cursor/Mouse;
- Get Screen Size
- Get Screen Size;
- Get Files by Path

@@ -276,1 +277,54 @@

````
### Get Files by Path 🗂️🛣️:
This func recive with argument a path and return a array with all files and diretorys in path. You can give a path to a pendrive or another storage Unit.
````JS
const specs = require('specs_window')
specs.getFilesPath("C:\\").then((res) => {console.log(res)})
````
Only for a file can you get the file size in KiloBytes.
````JS
[
{ Name: 'BIOS', Type: 'DIR' },
{ Name: 'Config.Msi', Type: 'DIR' },
{ Name: 'discord-avatar.jpg', Type: 'File', KB: 354805 },
{ Name: 'Documents and Settings', Type: 'DIR' },
{ Name: 'Drivers', Type: 'DIR' },
{ Name: 'flutter', Type: 'DIR' },
{ Name: 'hiberfil.sys', Type: 'File', KB: 6816497664 },
{ Name: 'Intel', Type: 'DIR' },
{ Name: 'Java', Type: 'DIR' },
{ Name: 'mingw64', Type: 'DIR' },
{ Name: 'NiceHash', Type: 'DIR' },
{ Name: 'OneDriveTemp', Type: 'DIR' },
{ Name: 'pagefile.sys', Type: 'File', KB: 19811954688 },
{ Name: 'PATH_PROGRAM', Type: 'DIR' },
{ Name: 'Pearlabyss', Type: 'DIR' },
{ Name: 'PerfLogs', Type: 'DIR' },
{ Name: 'php', Type: 'DIR' },
{ Name: 'Program Files', Type: 'DIR' },
{ Name: 'Program Files (x86)', Type: 'DIR' },
{ Name: 'Programas', Type: 'DIR' },
{ Name: 'ProgramData', Type: 'DIR' },
{ Name: 'Python310', Type: 'DIR' },
{ Name: 'Recovery', Type: 'DIR' },
{ Name: 'Registadora.jar', Type: 'File', KB: 4578 },
{ Name: 'Riot Games', Type: 'DIR' },
{ Name: 'SQL2019', Type: 'DIR' },
{ Name: 'swapfile.sys', Type: 'File', KB: 16777216 },
{ Name: 'System Volume Information', Type: 'DIR' },
{ Name: 'temp', Type: 'DIR' },
{ Name: 'tools', Type: 'DIR' },
{ Name: 'UserBenchmark', Type: 'DIR' },
{ Name: 'Users', Type: 'DIR' },
{ Name: 'vcpkg', Type: 'DIR' },
{ Name: 'WhatsappKeys', Type: 'DIR' },
{ Name: 'Windows', Type: 'DIR' },
{ Name: 'XboxGames', Type: 'DIR' }
]
````

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc