1 2#------------------------------------------------------------------------------ 3# $File: javascript,v 1.3 2021/12/08 13:42:00 christos Exp $ 4# javascript: magic for javascript and node.js scripts. 5# 60 string/w #!/bin/node Node.js script text executable 7!:mime application/javascript 80 string/w #!/usr/bin/node Node.js script text executable 9!:mime application/javascript 100 string/w #!/bin/nodejs Node.js script text executable 11!:mime application/javascript 120 string/w #!/usr/bin/nodejs Node.js script text executable 13!:mime application/javascript 140 string #!/usr/bin/env\ node Node.js script text executable 15!:mime application/javascript 160 string #!/usr/bin/env\ nodejs Node.js script text executable 17!:mime application/javascript 18# Hermes by Facebook https://hermesengine.dev/ 19# https://github.com/facebook/hermes/blob/master/include/hermes/\ 20# BCGen/HBC/BytecodeFileFormat.h#L24 210 lequad 0x1F1903C103BC1FC6 Hermes JavaScript bytecode 22>8 lelong x \b, version %d 23