2.0.0 • Published 7 years ago
has-jsx-pragma v2.0.0
Deprecated
Deprecated as this package is no longer useful.
has-jsx-pragma 
Check if a string contains a JSX pragma
Install
$ npm install --save has-jsx-pragmaUsage
var hasJsxPragma = require('has-jsx-pragma');
hasJsxPragma('/** @jsx React.DOM */\n\nvar unicorn = "rainbow";');
//=> trueLicense
MIT © Sindre Sorhus