This package has been deprecated

Author message:

Deprecated as this package is no longer useful.

has-jsx-pragma

2.0.0 • Public • Published

Deprecated

Deprecated as this package is no longer useful.


has-jsx-pragma Build Status

Check if a string contains a JSX pragma

Install

$ npm install --save has-jsx-pragma

Usage

var hasJsxPragma = require('has-jsx-pragma');
 
hasJsxPragma('/** @jsx React.DOM */\n\nvar unicorn = "rainbow";');
//=> true

License

MIT © Sindre Sorhus

Package Sidebar

Install

npm i has-jsx-pragma

Weekly Downloads

5

Version

2.0.0

License

MIT

Unpacked Size

2.56 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus