Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

has-template-literals

inspect-js222MIT1.0.1

Determine if the JS environment has template literal support.

template literal, interpolation, interpoliteral, backtick, backticks, ES6

readme

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

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.0.1 - 2020-12-14

Commits

  • [Tests] use shared travis-ci configs d9be227
  • [Tests] migrate tests to Github Actions f6ff324
  • [Tests] up to node v12.4, v11.15, v10.15, v9.11, v8.15, v6.17, v4.9 53b95c8
  • [meta] do not publish github action workflow files e91e804
  • [meta] add auto-changelog 1bef90c
  • [Tests] run nyc on all tests; use tape runner 6492e8e
  • [readme] fix repo URLs, remove defunct badges 7926c8d
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, tape 8590df7
  • [actions] add automatic rebasing / merge commit blocking b8a4d54
  • [actions] add "Allow Edits" workflow 8738165
  • [meta] create FUNDING.yml fa2daf8
  • [Dev Deps] update eslint, @ljharb/eslint-config, safe-publish-latest, tape d14948b
  • [Dev Deps] update eslint, @ljharb/eslint-config, safe-publish-latest, tape 27e9f64
  • [Dev Deps] update eslint, @ljharb/eslint-config, tape c74169a
  • [Tests] use npx aud instead of nsp or npm audit with hoops 829fc68
  • [actions] switch Automatic Rebase workflow to pull_request_target event cd59a91
  • [Dev Deps] update auto-changelog, tape a45b89e
  • [Dev Deps] update auto-changelog; add aud ed29ce0
  • [meta] add funding field 8921034
  • [Tests] only audit prod deps c5a915b
  • Revert "[Dev Deps] peg hosted-git-info due to a breaking change in a patch" e1adbf6
  • [Dev Deps] peg hosted-git-info due to a breaking change in a patch 3f185cb

v1.0.0 - 2018-01-06

Commits