* Added jsescOptions to Numeric Literals * Added tests and hexadecimal opts to NumericLiterals * Fixed the bug of every numeric literal being coverted to hex * Added conditions when jsesc should be applied * Removed numbers and lowercaseHex from format object * Added newline to test of jsonEscape (to exclude the change) * Modified conditions to apply jsesc * Made the required changes. * Using node.value instead of value
@babel/generator
Turns an AST into code.
See our website @babel/generator for more information or the issues associated with this package.
Install
Using npm:
npm install --save-dev @babel/generator
or using yarn:
yarn add @babel/generator --dev