npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

has-template-literals

1.0.1

@ljharb

npmHomeRepoSnykSocket
Downloads:3452
$ npm install has-template-literals
DailyWeeklyMonthlyYearly

has-template-literals Version Badge

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