steam-acf2json

0.1.1 • Public • Published

Steam Acf To Json

Function

  • decode(acfString)
const acfParser = require('steam-acf2json')
const fs = require('fs')

const testFile = fs.readFileSync('appworkshop_322330.acf', 'utf-8')
const decode = acfParser.decode(testFile)

console.log(JSON.stringify(decode, null, 2))
  • encode(obj)
fs.writeFileSync('test.acf', acfParser.encode(decode))
$ md5 appworkshop_322330.acf    
MD5 (appworkshop_322330.acf) = 6b8ef4994155e102b7f7c92361d34457

$ md5 test.acf              
MD5 (test.acf) = 6b8ef4994155e102b7f7c92361d34457

Readme

Keywords

Package Sidebar

Install

npm i steam-acf2json

Weekly Downloads

113

Version

0.1.1

License

MIT

Unpacked Size

5.7 kB

Total Files

6

Last publish

Collaborators

  • zsnmwy