xref: /freebsd/contrib/file/magic/Magdir/javascript (revision b6cee71de37d56e36dbc118e2d9b03e7cece5709)
1*b6cee71dSXin LI
2*b6cee71dSXin LI#------------------------------------------------------------------------------
3*b6cee71dSXin LI# $File: javascript,v 1.1 2012/06/16 13:30:36 christos Exp $
4*b6cee71dSXin LI# javascript:  magic for javascript and node.js scripts.
5*b6cee71dSXin LI#
6*b6cee71dSXin LI0	search/1/w	#!/bin/node		Node.js script text executable
7*b6cee71dSXin LI!:mime application/javascript
8*b6cee71dSXin LI0	search/1/w	#!/usr/bin/node		Node.js script text executable
9*b6cee71dSXin LI!:mime application/javascript
10*b6cee71dSXin LI0	search/1/w	#!/bin/nodejs		Node.js script text executable
11*b6cee71dSXin LI!:mime application/javascript
12*b6cee71dSXin LI0	search/1/w	#!/usr/bin/nodejs	Node.js script text executable
13*b6cee71dSXin LI!:mime application/javascript
14*b6cee71dSXin LI0	search/1	#!/usr/bin/env\ node	Node.js script text executable
15*b6cee71dSXin LI!:mime application/javascript
16*b6cee71dSXin LI0	search/1	#!/usr/bin/env\ nodejs	Node.js script text executable
17*b6cee71dSXin LI!:mime application/javascript
18