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

vssln-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vssln-parser

Parses Visual Studio Solution (sln) files and returns information about projects and project dependencies.

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
135
decreased by-35.1%
Maintainers
1
Weekly downloads
 
Created
Source

vssln-parser

Parses Visual Studio Solution (sln) files and returns information about projects and project dependencies.

Installation

Install package with NPM and add it to your development dependencies:

npm install vssln-parser --save-dev

Usage

From stream

var vsslnparse = require('vssln-parser');
var fs = require('fs');
    
const stream = fs.createReadStream("test.sln");
vsslnparse(stream, solution => {
    for(let project of solution.projects) {
        console.log(project.name);
        console.log(project.type);
        
        for(let dependency of project.projectDependencies) {
            console.log(dependency);
        }
    }
});

From string

var vsslnparse = require('vssln-parser');
var fs = require('fs');
    
const text = fs.readFileSync("test.sln", "utf-8");
vsslnparse(text, solution => {
    for(let project of solution.projects) {
        console.log(project.name);
        console.log(project.type);
        
        for(let dependency of project.projectDependencies) {
            console.log(dependency);
        }
    }
});

License

MIT License

FAQs

Package last updated on 05 Oct 2016

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