Socket
Socket
Sign inDemoInstall

iptreader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iptreader

iptreader is a node.js library to read and change the license of IPT-files (Autodesk Inventor files)


Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Autodesk Inventor License Reader

iptreader is a node.js library to read and change the license of IPT-files (Autodesk Inventor files).

The license may not be acurate as this is all done using reverse engineering.

Install

You can install iptreader using the Node Package Manager (npm):

npm install iptreader

Simple example

var iptreader = require('iptreader');

var someLicense = [
    'Some Name',
    '0x00',
    '0x00',
    '0x00',
    '0x00',
    '0x00',
    '0x00',
    '0x00',
    '0x00',
    '0x00',
    'Some Build Number'
];


fs.readFile('./original.ipt', function (err, data) {
    if (err) return console.log(err);

    var currentLicense = iptreader.getLicense(data);
    console.log('currentLicense', currentLicense);

    console.log('setting new licence:', someLicense);
    var newData = iptreader.setLicense(data, someLicense);

    fs.writeFile('./new.ipt', newData, function (err) {
        if(err) return console.log(err);
        console.log('done');
    });
});

FAQs

Package last updated on 18 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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