mirror of
https://github.com/github/codeql.git
synced 2025-12-26 21:56:39 +01:00
10 lines
185 B
JavaScript
10 lines
185 B
JavaScript
// package.json
|
|
{
|
|
"name": "example-package",
|
|
"version": "0.1.0"
|
|
}
|
|
|
|
// index.js
|
|
var acorn = require('acorn'),
|
|
fs = require('fs');
|
|
acorn.parse(fs.readFileSync('tst.js'), 'utf-8'); |