Babel plugin that compiles ES2015 unicode string and number literals to ES5
86
Zero-configuration plugin design
Babel Core Import
100%
100%
Plugin Configuration
100%
100%
Transform Method Usage
100%
100%
Output Code Extraction
100%
100%
Binary Literal Transformation
100%
100%
Octal Literal Transformation
100%
100%
Unicode Escape Handling
100%
100%
Octal literal transformation (0o/0O prefix to decimal)
Plugin installation
100%
0%
Babel configuration
100%
0%
Octal literal usage
100%
100%
Build script configuration
100%
0%
Successful transformation
100%
100%
Binary literal transformation (0b/0B prefix to decimal)
Babel transform usage
100%
100%
Plugin registration
100%
100%
Configuration structure
100%
100%
Code output extraction
100%
100%
Binary literal handling
100%
100%
AST metadata manipulation via extra property deletion
Plugin structure
100%
100%
Visitor pattern
100%
100%
Extra property deletion
100%
100%
Binary/octal pattern detection
100%
100%
Unicode escape detection
100%
100%
Hexadecimal preservation
100%
100%
Test coverage
100%
100%
Member expression integration with numeric literals
Babel core import
100%
100%
Plugin import
100%
100%
Plugin registration
100%
100%
Source code reading
100%
100%
Babel transformation
100%
100%
Output generation
100%
100%
Binary literal transformation
100%
100%
Octal literal transformation
100%
100%
Preset-env automatic inclusion based on target environments
@babel/preset-env usage
60%
50%
Target specification
88%
92%
Configuration structure
80%
70%
Automatic inclusion logic
0%
12%
Unicode string literal normalization
Uses @babel/core
100%
100%
Uses transform-literals plugin
100%
100%
Proper plugin configuration
100%
100%
Returns transformed code
100%
100%
Error handling
100%
100%
Generator integration pattern for code output
Plugin declaration
100%
100%
Visitor pattern implementation
100%
100%
Hexadecimal detection
100%
100%
Metadata manipulation
33%
100%
Generator delegation
25%
100%
Member expression handling
100%
100%
Visitor pattern implementation for AST traversal
Plugin wrapper usage
100%
100%
API version assertion
0%
100%
Plugin structure
100%
100%
NumericLiteral visitor
100%
100%
Hexadecimal detection
100%
100%
AST manipulation approach
100%
100%
Prefix normalization
100%
100%
Digit normalization
100%
100%
Safe plugin composition with no overlapping conflicts
Uses @babel/core
100%
100%
Uses transform-literals plugin
80%
0%
Multi-plugin composition
25%
50%
Correct plugin configuration
80%
100%
Order-independent execution
20%
0%
Correct output format
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-babel-plugin-transform-es2015-literalsTable of Contents