1.0.6 • Published 3 years ago

psu-nodejs v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

node-wrapper

NodeJS Wrapper for the PSU Api\ Example Usage:

const PSU = require('./index.js') // replace with psu-nodejs
const wrapper = new PSU('API Token from psu.dev');
(async () => {
  let a = await wrapper.obfuscate("print('e')", {
            "DisableSuperOperators": false,
            "MaximumSecurityEnabled": false,
            "EncryptAllStrings": false,
            "DisableAllMacros": false,
            "EnhancedOutput": false,
            "CompressedOutput": false,
            "PremiumFormat": false,
            "ByteCodeMode": "Default"
        }, true // true for script return only, remove if you want the json object (or set to false)
    )
  console.log(a)
  
  
  let b = await wrapper.obfuscate(["print('e')","print('xd')", "print(game.Players.LocalPlayer.name)"], {
            "DisableSuperOperators": false,
            "MaximumSecurityEnabled": false,
            "EncryptAllStrings": false,
            "DisableAllMacros": false,
            "EnhancedOutput": false,
            "CompressedOutput": false,
            "PremiumFormat": false,
            "ByteCodeMode": "Default"
        }, true // true for script return only, remove if you want the json object (or set to false)
    )
    // returns an array of promises
    console.log(...b)

})()

Made by Agent#9895\ https://www.npmjs.com/package/psu-nodejs

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago