Skip to content

inspect-js/has-template-literals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

has-template-literals Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Determine if the JS environment has template literal support.

Example

var hasTemplateLiterals = require('has-template-literals');

hasTemplateLiterals() === true; // if the environment has native template literal support.

Tests

Simply clone the repo, npm install, and run npm test