mirror of
https://github.com/github/codeql.git
synced 2026-05-10 01:10:09 +02: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'); |