Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ bicep.js Public

Utilities to work with Bicep files in JavaScript

License

3p3r/bicep.js

Repository files navigation

bicep.js

Utilities to work with Bicep files in JavaScript

const { bicep2json, treeSitterBicep } = require('bicep.js');
const bicepSrc = 'param location string = resourceGroup().location';
bicep2json(bicepSrc).then(console.log);
// https://github.com/tree-sitter-grammars/tree-sitter-bicep
treeSitterBicep().then((parser) => {
  const tree = parser.parse(bicepSrc);
  console.log(tree.rootNode.toString());
});

About

Utilities to work with Bicep files in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published