psu-nodejs

1.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i psu-nodejs

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

4.11 kB

Total Files

4

Last publish

Collaborators

  • tonumber