vssln-parser

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vssln-parser
000.1.46 years ago6 years agoMinified + gzip package size for vssln-parser in KB

Readme

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
```typescript 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
```typescript 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