repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/browser.js | source/browser.js |
import * as base from './base.js';
const browser = {};
browser.Host = class {
constructor() {
this._window = window;
this._navigator = window.navigator;
this._document = window.document;
this._telemetry = new base.Telemetry(this._window);
this._window.eval = () => {
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/megengine-schema.js | source/megengine-schema.js |
export const mgb = {};
mgb.serialization = mgb.serialization || {};
mgb.serialization.fbs = mgb.serialization.fbs || {};
mgb.serialization.fbs.DTypeEnum = {
Float32: 0,
Uint8: 1,
Int8: 2,
Int16: 3,
Int32: 4,
IntB1: 5,
IntB2: 6,
IntB4: 7,
Byte: 8,
Float16: 9,
UintB4: 10,
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/mlnet.js | source/mlnet.js |
// Experimental
import * as base from './base.js';
const mlnet = {};
mlnet.ModelFactory = class {
async match(context) {
const entries = await context.peek('zip');
if (entries instanceof Map && entries.size > 0) {
const root = new Set(['TransformerChain', 'Predictor']);
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/pytorch.js | source/pytorch.js |
// Experimental
import * as base from './base.js';
import * as flatbuffers from './flatbuffers.js';
import * as python from './python.js';
const pytorch = {};
const numpy = {};
pytorch.ModelFactory = class {
async match(context) {
const reader = await pytorch.Reader.open(context);
if (reader) {... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/view.js | source/view.js |
import * as base from './base.js';
import * as grapher from './grapher.js';
const view = {};
const markdown = {};
const metadata = {};
const metrics = {};
view.View = class {
constructor(host) {
this._host = host;
this._defaultOptions = {
weights: true,
attributes: false,... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/pickle.js | source/pickle.js |
// Experimental
const pickle = {};
pickle.ModelFactory = class {
async match(context) {
const stream = context.stream;
const signature = [0x80, undefined, 0x8a, 0x0a, 0x6c, 0xfc, 0x9c, 0x46, 0xf9, 0x20, 0x6a, 0xa8, 0x50, 0x19];
if (stream && signature.length <= stream.length && stream.pe... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/espresso.js | source/espresso.js |
const espresso = {};
espresso.ModelFactory = class {
async match(context) {
const identifier = context.identifier.toLowerCase();
if (identifier.endsWith('.espresso.net')) {
const obj = await context.peek('json');
if (obj && Array.isArray(obj.layers) && obj.format_version) ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/dlc-schema.js | source/dlc-schema.js |
export const dlc = {};
dlc.v3 = dlc.v3 || {};
dlc.v3.Model = class Model {
static decode(reader, position) {
const $ = new dlc.v3.Model();
$.unk1 = reader.int32_(position, 4, 0);
$.nodes = reader.tables(position, 6, dlc.v3.Node);
$.unk2 = reader.array(position, 8, Int32Array);
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/keras.js | source/keras.js |
import * as json from './json.js';
import * as python from './python.js';
const keras = {};
const tfjs = {};
keras.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/hdf5.js | source/hdf5.js |
// Experimental HDF5 reader
import * as zip from './zip.js';
const hdf5 = {};
hdf5.File = class {
static open(data) {
if (data && data.length >= 8) {
const buffer = data instanceof Uint8Array ? data : data.peek(8);
const signature = [0x89, 0x48, 0x44, 0x46, 0x0D, 0x0A, 0x1A, 0x0... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/executorch-schema.js | source/executorch-schema.js |
export const executorch_flatbuffer = {};
export const fb_xnnpack = {};
export const vkgraph = {};
executorch_flatbuffer.ScalarType = {
BYTE: 0,
CHAR: 1,
SHORT: 2,
INT: 3,
LONG: 4,
HALF: 5,
FLOAT: 6,
DOUBLE: 7,
BOOL: 11,
QINT8: 12,
QUINT8: 13,
QINT32: 14,
QUINT4X2:... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/sentencepiece-proto.js | source/sentencepiece-proto.js |
export const sentencepiece = {};
sentencepiece.TrainerSpec = class TrainerSpec {
constructor() {
this.input = [];
this.accept_language = [];
this.control_symbols = [];
this.user_defined_symbols = [];
}
static decode(reader, length) {
const message = new sentencepi... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/safetensors.js | source/safetensors.js |
import * as json from './json.js';
const safetensors = {};
safetensors.ModelFactory = class {
async match(context) {
const container = safetensors.Container.open(context);
if (container) {
return context.set('safetensors', container);
}
const obj = await context.peek(... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/grapher.js | source/grapher.js |
const grapher = {};
grapher.Graph = class {
constructor(compound) {
this._compound = compound;
this._nodes = new Map();
this._edges = new Map();
this._focusable = new Map();
this._focused = null;
this._children = new Map();
this._children.set('\x00', new Ma... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/mnn-schema.js | source/mnn-schema.js |
export const MNN = {};
MNN.NetSource = {
CAFFE: 0,
TENSORFLOW: 1,
TFLITE: 2,
ONNX: 3,
TORCH: 4
};
MNN.DataType = {
DT_INVALID: 0,
DT_FLOAT: 1,
DT_DOUBLE: 2,
DT_INT32: 3,
DT_UINT8: 4,
DT_INT16: 5,
DT_INT8: 6,
DT_STRING: 7,
DT_COMPLEX64: 8,
DT_INT64: 9,
D... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/tf-proto.js | source/tf-proto.js |
export const tensorflow = {};
export const google = {};
tensorflow.SavedModel = class SavedModel {
constructor() {
this.meta_graphs = [];
}
static decode(reader, length) {
const message = new tensorflow.SavedModel();
const end = length === undefined ? reader.length : reader.posit... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/coreml-proto.js | source/coreml-proto.js |
export const CoreML = {};
CoreML.Specification = {};
CoreML.Specification.Pipeline = class Pipeline {
constructor() {
this.models = [];
this.names = [];
}
static decode(reader, length) {
const message = new CoreML.Specification.Pipeline();
const end = length === undefine... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/uff.js | source/uff.js |
const uff = {};
uff.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
if (extension === 'uff' || extension === 'pb') {
const tags = await cont... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/caffe2.js | source/caffe2.js |
const caffe2 = {};
caffe2.ModelFactory = class {
async match(context) {
const identifier = context.identifier.toLowerCase();
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
switch (extension) {
case 'pbtxt':
case ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/gguf.js | source/gguf.js |
const gguf = {};
gguf.ModelFactory = class {
async match(context) {
const reader = gguf.Reader.open(context);
if (reader) {
return context.set('gguf', reader);
}
return null;
}
async open(context) {
const target = context.value;
await target.re... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/nnabla.js | source/nnabla.js |
const nnabla = {};
nnabla.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
if (identifier.endsWith('.nntxt')) {
const tags = await context.tags('pbtxt');
if (tags.has('network')) {
return context.set('nnabla.pbtxt');
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/app.js | source/app.js |
import * as base from './base.js';
import * as electron from 'electron';
import * as fs from 'fs';
import * as os from 'os';
import * as path from 'path';
import * as process from 'process';
import * as updater from 'electron-updater';
import * as url from 'url';
const app = {};
app.Application = class {
constr... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/kann.js | source/kann.js |
const kann = {};
kann.ModelFactory = class {
async match(context) {
const reader = await context.peek('flatbuffers.binary');
if (reader && reader.identifier === 'KaNN') {
return context.set('kann.flatbuffers', reader);
}
return null;
}
async open(context) {
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/dnn.js | source/dnn.js |
// Experimental
const dnn = {};
dnn.ModelFactory = class {
async match(context) {
const tags = await context.tags('pb');
if (tags.get(4) === 0 && tags.get(10) === 2) {
return context.set('dnn');
}
return null;
}
async open(context) {
dnn.proto = await... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/xmodel.js | source/xmodel.js |
const xmodel = {};
xmodel.ModelFactory = class {
async match(context) {
const tags = await context.tags('pb');
if (tags.get(5) === 2) {
return context.set('xmodel.pb');
}
return null;
}
async open(context) {
xmodel.proto = await context.require('./xmod... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/tar.js | source/tar.js |
const tar = {};
tar.Archive = class {
static open(data) {
const stream = data instanceof Uint8Array ? new tar.BinaryReader(data) : data;
if (stream && stream.length >= 512) {
const buffer = stream.peek(512);
const sum = buffer.map((value, index) => (index >= 148 && index <... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/protobuf.js | source/protobuf.js |
import * as text from './text.js';
const protobuf = {};
protobuf.BinaryReader = class {
static open(data, offset) {
offset = offset || 0;
if (data instanceof Uint8Array) {
return new protobuf.BufferReader(data, offset);
}
if (data.length < 0x20000000) {
da... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/onnx.js | source/onnx.js |
import * as protobuf from './protobuf.js';
const onnx = {};
onnx.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extensions = [
'saved_model.pb', 'predict_net.pb', 'init_net.pb',
'predict_net.pbtxt', 'init_net.pbtxt', 'predict_ne... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/catboost.js | source/catboost.js |
import * as python from './python.js';
const catboost = {};
catboost.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream && stream.length > 4) {
const buffer = stream.peek(4);
const signature = Array.from(buffer).map((c) => String.fromC... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/pytorch-proto.js | source/pytorch-proto.js |
export const torch = {};
export const caffe2 = {};
torch.RecordRef = class RecordRef {
static decodeJson(obj) {
const message = new torch.RecordRef();
if ('key' in obj) {
message.key = obj.key;
}
return message;
}
};
torch.RecordRef.prototype.key = "";
torch.Tens... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/nnc.js | source/nnc.js |
const nnc = {};
nnc.ModelFactory = class {
async match(context) {
return context.set('nnc');
}
async open(/* context */) {
throw new nnc.Error('File contains undocumented NNC data.');
}
};
nnc.Error = class extends Error {
constructor(message) {
super(message);
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/qnn.js | source/qnn.js |
// Experimental
const qnn = {};
qnn.ModelFactory = class {
async match(context) {
const obj = await context.peek('json');
if (obj && obj['model.cpp'] !== undefined && obj.graph) {
return context.set('qnn.json', obj);
}
const entries = await context.peek('tar');
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/armnn-schema.js | source/armnn-schema.js |
export const armnnSerializer = {};
armnnSerializer.ActivationFunction = {
Sigmoid: 0,
TanH: 1,
Linear: 2,
ReLu: 3,
BoundedReLu: 4,
SoftReLu: 5,
LeakyReLu: 6,
Abs: 7,
Sqrt: 8,
Square: 9,
Elu: 10,
HardSwish: 11,
Gelu: 12
};
armnnSerializer.ArgMinMaxFunction = {
M... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/armnn.js | source/armnn.js |
const armnn = {};
armnn.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
if (extension === 'armnn') {
const reader = await context.peek('flat... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/caffe-proto.js | source/caffe-proto.js |
export const caffe = {};
caffe.BlobShape = class BlobShape {
constructor() {
this.dim = [];
}
static decode(reader, length) {
const message = new caffe.BlobShape();
const end = length === undefined ? reader.length : reader.position + length;
while (reader.position < end) ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/worker.js | source/worker.js |
const require = async () => {
if (typeof process !== 'undefined' && process.versions && process.versions.node) {
const worker_threads = await import('worker_threads');
return worker_threads.parentPort;
}
import('./dagre.js');
return self;
};
require().then((self) => {
self.addEvent... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/paddle-proto.js | source/paddle-proto.js |
export const paddle = {};
paddle.framework = {};
paddle.framework.proto = {};
paddle.framework.proto.Version = class Version {
static decode(reader, length) {
const message = new paddle.framework.proto.Version();
const end = length === undefined ? reader.length : reader.position + length;
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/circle-schema.js | source/circle-schema.js |
export const circle = {};
circle.TensorType = {
FLOAT32: 0,
FLOAT16: 1,
INT32: 2,
UINT8: 3,
INT64: 4,
STRING: 5,
BOOL: 6,
INT16: 7,
COMPLEX64: 8,
INT8: 9,
FLOAT64: 10,
COMPLEX128: 11,
UINT64: 12,
RESOURCE: 13,
VARIANT: 14,
UINT32: 15,
UINT16: 16,
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/mlir.js | source/mlir.js |
// Experimental
import * as base from './base.js';
const mlir = {};
mlir.ModelFactory = class {
async match(context) {
const stream = context.stream;
const identifier = context.identifier;
const extension = identifier.split('.').pop().toLowerCase();
if (stream && stream.length >... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/onnx-schema.js | source/onnx-schema.js |
export const onnxruntime = {};
onnxruntime.fbs = onnxruntime.fbs || {};
onnxruntime.fbs.AttributeType = {
UNDEFINED: 0,
FLOAT: 1,
INT: 2,
STRING: 3,
TENSOR: 4,
GRAPH: 5,
FLOATS: 6,
INTS: 7,
STRINGS: 8,
TENSORS: 9,
GRAPHS: 10,
SPARSE_TENSOR: 11,
SPARSE_TENSORS: 12
}... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/torch.js | source/torch.js |
import * as base from './base.js';
const torch = {};
torch.ModelFactory = class {
async match(context) {
const reader = torch.T7Reader.open(context);
if (reader) {
return context.set('torch', reader);
}
return null;
}
async open(context) {
const metad... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/xgboost.js | source/xgboost.js |
// Experimental
import * as python from './python.js';
const xgboost = {};
xgboost.ModelFactory = class {
async match(context) {
const obj = await context.peek('json');
if (obj && obj.learner && obj.version && Object.keys(obj).length < 256) {
return context.set('xgboost.json', obj);... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/message.js | source/message.js |
// Experimental
const message = {};
message.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream) {
const buffer = stream.peek(Math.min(64, stream.length));
const content = String.fromCharCode.apply(null, buffer);
const match... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/dagre.js | source/dagre.js |
const dagre = {};
// Dagre graph layout
// https://github.com/dagrejs/dagre
// https://github.com/dagrejs/graphlib
dagre.layout = (nodes, edges, layout, state) => {
let uniqueIdCounter = 0;
const uniqueId = (prefix) => {
const id = ++uniqueIdCounter;
return prefix + id;
};
const fla... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/mslite-schema.js | source/mslite-schema.js |
export const mindspore = {};
mindspore.schema = mindspore.schema || {};
mindspore.schema.ResizeMethod = {
UNKNOWN: -1,
LINEAR: 0,
NEAREST: 1,
CUBIC: 2
};
mindspore.schema.CoordinateTransformMode = {
ASYMMETRIC: 0,
ALIGN_CORNERS: 1,
HALF_PIXEL: 2
};
mindspore.schema.NearestMode = {
N... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/bigdl.js | source/bigdl.js |
// Experimental
const bigdl = {};
bigdl.ModelFactory = class {
async match(context) {
const tags = await context.tags('pb');
if (tags.has(2) && tags.has(7) && tags.has(8) &&
tags.has(9) && tags.has(10) && tags.has(11) && tags.has(12)) {
return context.set('bigdl');
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/cntk-proto.js | source/cntk-proto.js |
export const CNTK = {};
CNTK.proto = {};
CNTK.proto.NDShape = class NDShape {
constructor() {
this.shape_dim = [];
}
static decode(reader, length) {
const message = new CNTK.proto.NDShape();
const end = length === undefined ? reader.length : reader.position + length;
whi... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/node.js | source/node.js |
import * as fs from 'fs';
const node = {};
node.FileStream = class {
constructor(file, start, length, mtime) {
this._file = file;
this._start = start;
this._length = length;
this._position = 0;
this._mtime = mtime;
}
get position() {
return this._position... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/tengine.js | source/tengine.js |
// Experimental
const tengine = {};
tengine.ModelFactory = class {
async match(context) {
const reader = tengine.Reader.open(context);
if (reader) {
return context.set('tengine', reader);
}
return null;
}
async open(context) {
const metadata = await t... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/kmodel.js | source/kmodel.js |
import * as base from './base.js';
const kmodel = {};
kmodel.ModelFactory = class {
async match(context) {
const reader = kmodel.Reader.open(context.stream);
if (reader) {
return context.set('kmodel', reader);
}
return null;
}
async open(context) {
co... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/lasagne.js | source/lasagne.js |
// Experimental
const lasagne = {};
lasagne.ModelFactory = class {
async match(context) {
const obj = await context.peek('pkl');
if (obj && obj.__class__ && obj.__class__.__module__ === 'nolearn.lasagne.base' && obj.__class__.__name__ === 'NeuralNet') {
return context.set('lasagne', ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/caffe.js | source/caffe.js |
const caffe = {};
caffe.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
if (extension === 'caffemodel') {
return context.set('caffe.pb');
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/tf.js | source/tf.js |
// Experimental
import * as base from './base.js';
import * as protobuf from './protobuf.js';
import * as zip from './zip.js';
const tf = {};
tf.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.sp... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/om.js | source/om.js |
// Experimental
import * as base from './base.js';
import * as protobuf from './protobuf.js';
const om = {};
const svp = {};
om.ModelFactory = class {
async match(context) {
const container = om.Container.open(context);
if (container) {
return context.set('om', container);
}... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/rknn-schema.js | source/rknn-schema.js |
export const rknn = {};
rknn.Model = class Model {
static identifier(reader) {
return reader.identifier === 'RKNN';
}
static create(reader) {
return rknn.Model.decode(reader, reader.root);
}
static decode(reader, position) {
const $ = new rknn.Model();
$.var1 = r... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/json.js | source/json.js |
import * as text from './text.js';
const json = {};
const bson = {};
json.TextReader = class {
static open(data) {
const decoder = text.Decoder.open(data);
let state = '';
for (let i = 0; i < 0x1000; i++) {
const c = decoder.decode();
if (state === 'match') {
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/keras-proto.js | source/keras-proto.js |
export const third_party = {};
third_party.tensorflow = {};
third_party.tensorflow.python = {};
third_party.tensorflow.python.keras = {};
third_party.tensorflow.python.keras.protobuf = {};
third_party.tensorflow.python.keras.protobuf.SavedMetadata = class SavedMetadata {
constructor() {
this.nodes = ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/dnn-proto.js | source/dnn-proto.js |
export const dnn = {};
dnn.Model = class Model {
constructor() {
this.input_shape = [];
this.input_name = [];
this.node = [];
this.input = [];
this.output = [];
}
static decode(reader, length) {
const message = new dnn.Model();
const end = length =... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/hickle.js | source/hickle.js |
const hickle = {};
hickle.ModelFactory = class {
async match(context) {
const group = await context.peek('hdf5');
if (group && group.attributes && group.attributes.get('CLASS') === 'hickle') {
return context.set('hickle', group);
}
return null;
}
async open(co... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/bigdl-proto.js | source/bigdl-proto.js |
export const com = {};
export const google = {};
com.intel = {};
com.intel.analytics = {};
com.intel.analytics.bigdl = {};
com.intel.analytics.bigdl.serialization = {};
com.intel.analytics.bigdl.serialization.BigDLModule = class BigDLModule {
constructor() {
this.subModules = [];
this.preModu... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/rknn.js | source/rknn.js |
import * as base from './base.js';
import * as flatbuffers from './flatbuffers.js';
import * as json from './json.js';
const rknn = {};
const openvx = {};
rknn.ModelFactory = class {
async match(context) {
const container = await rknn.Container.open(context);
if (container) {
return ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/paddle-schema.js | source/paddle-schema.js |
export const paddle = {};
paddle.lite = paddle.lite || {};
paddle.lite.fbs = paddle.lite.fbs || {};
paddle.lite.fbs.proto = paddle.lite.fbs.proto || {};
paddle.lite.fbs.proto.AttrType = {
INT: 0,
FLOAT: 1,
STRING: 2,
INTS: 3,
FLOATS: 4,
STRINGS: 5,
BOOLEAN: 6,
BOOLEANS: 7,
BLOCK... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/mediapipe.js | source/mediapipe.js |
import * as protobuf from './protobuf.js';
const mediapipe = {};
mediapipe.ModelFactory = class {
async match(context) {
const tags = await context.tags('pbtxt');
if (tags.has('node') && ['input_stream', 'output_stream', 'input_side_packet', 'output_side_packet'].some((key) => tags.has(key) || t... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/kann-schema.js | source/kann-schema.js |
export const kann = {};
kann.Model = class Model {
static identifier(reader) {
return reader.identifier === 'KaNN';
}
static create(reader) {
return kann.Model.decode(reader, reader.root);
}
static decode(reader, position) {
const $ = new kann.Model();
$.graph = ... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/flux.js | source/flux.js |
// Experimental
const flux = {};
flux.ModelFactory = class {
async match(context) {
const identifier = context.identifier;
const extension = identifier.lastIndexOf('.') > 0 ? identifier.split('.').pop().toLowerCase() : '';
const stream = context.stream;
if (stream && extension ==... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/cntk.js | source/cntk.js |
const cntk = {};
cntk.ModelFactory = class {
async match(context) {
const stream = context.stream;
// CNTK v1
const signature = [0x42, 0x00, 0x43, 0x00, 0x4e, 0x00, 0x00, 0x00];
if (stream && signature.length <= stream.length && stream.peek(signature.length).every((value, index) =... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/om-proto.js | source/om-proto.js |
export const ge = {};
ge.proto = {};
ge.proto.DataType = {
"DT_UNDEFINED": 0,
"DT_FLOAT": 1,
"DT_FLOAT16": 2,
"DT_INT8": 3,
"DT_UINT8": 4,
"DT_INT16": 5,
"DT_UINT16": 6,
"DT_INT32": 7,
"DT_INT64": 8,
"DT_UINT32": 9,
"DT_UINT64": 10,
"DT_BOOL": 11,
"DT_DOUBLE": 12,
... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/xmodel-proto.js | source/xmodel-proto.js |
export const serial_v2 = {};
serial_v2.Graph = class Graph {
constructor() {
this.op_node = [];
this.graph_attr = {};
this.op_defs = [];
}
static decode(reader, length) {
const message = new serial_v2.Graph();
const end = length === undefined ? reader.length : rea... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | true |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/barracuda.js | source/barracuda.js |
// Experimental
const barracuda = {};
barracuda.ModelFactory = class {
async match(context) {
const stream = context.stream;
if (stream && stream.length > 12) {
const buffer = stream.peek(12);
if (buffer[0] <= 0x20 && buffer.subarray(1, 8).every((value) => value === 0x00)... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/hailo.js | source/hailo.js | // Experimental
const hailo = {};
hailo.ModelFactory = class {
async match(context) {
const container = await hailo.Container.open(context);
if (container) {
return context.set(container.type, container);
}
return null;
}
filter(context, match) {
if (c... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/text.js | source/text.js |
const text = {};
text.Decoder = class {
static open(data, encoding) {
if (typeof data === 'string') {
return new text.Decoder.String(data);
}
const assert = (encoding, condition) => {
if (encoding && encoding !== condition) {
throw new text.Error(`I... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
lutzroeder/netron | https://github.com/lutzroeder/netron/blob/45dd93a334d1ecab146cc3f43a9d0453d78ec0a8/source/tensorrt.js | source/tensorrt.js |
import * as base from './base.js';
const tensorrt = {};
tensorrt.ModelFactory = class {
async match(context) {
const entries = [
tensorrt.Engine,
tensorrt.Container
];
for (const entry of entries) {
const target = entry.open(context);
if (t... | javascript | MIT | 45dd93a334d1ecab146cc3f43a9d0453d78ec0a8 | 2026-01-04T15:00:59.992061Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/rollup.config.js | rollup.config.js | import buble from '@rollup/plugin-buble';
import copy from 'rollup-plugin-copy'
let copyVim = copy({
targets: [
{
src: require.resolve("cm5-vim/vim.js").replace(/\\/g, "/"),
dest: "./keymap"
}
]
});
export default [
{
input: "src/codemirror.js",
output: {
banner: `// CodeMi... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/meta.js | mode/meta.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../lib/codemirror"));
else if (typeof define == "function" && define.amd) // A... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/django/django.js | mode/django/django.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"),
require("../.... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/soy/test.js | mode/soy/test.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function() {
var mode = CodeMirror.getMode({indentUnit: 2}, "soy");
function MT(name) {test.mode(name, mode, Array.prototype.slice.call(arguments, 1));}
// Test of small keywords an... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/soy/soy.js | mode/soy/soy.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"));
else if (typeof de... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/vhdl/vhdl.js | mode/vhdl/vhdl.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
// Originally written by Alf Nielsen, re-written by Michael Zhou
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codem... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/elm/elm.js | mode/elm/elm.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) //... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/turtle/turtle.js | mode/turtle/turtle.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/sas/sas.js | mode/sas/sas.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
// SAS mode copyright (c) 2016 Jared Dean, SAS Institute
// Created by Jared Dean
// TODO
// indent and de-indent
// identify macro variables
//Definitions
// comment -- text within * ... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/python/python.js | mode/python/python.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/python/test.js | mode/python/test.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function() {
var mode = CodeMirror.getMode({indentUnit: 4},
{name: "python",
version: 3,
singleLineStringErrors: false});
function MT(name) ... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/julia/julia.js | mode/julia/julia.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/stex/stex.js | mode/stex/stex.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
/*
* Author: Constantin Jucovschi (c.jucovschi@jacobs-university.de)
* Licence: MIT
*/
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mo... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/stex/test.js | mode/stex/test.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function() {
var mode = CodeMirror.getMode({tabSize: 4}, "stex");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
MT("word",
"foo");
M... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/q/q.js | mode/q/q.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/haskell-literate/haskell-literate.js | mode/haskell-literate/haskell-literate.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function (mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("../haskell/haskell"))
else if (typeof define... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/nsis/nsis.js | mode/nsis/nsis.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
// Author: Jan T. Sott (http://github.com/idleberg)
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), req... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/r/r.js | mode/r/r.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/dtd/dtd.js | mode/dtd/dtd.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
/*
DTD mode
Ported to CodeMirror by Peter Kroon <plakroon@gmail.com>
Report bugs/issues here: https://github.com/codemirror/CodeMirror/issues
GitHub: @peterkroon
*/
(function(mod) ... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/ntriples/ntriples.js | mode/ntriples/ntriples.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
/**********************************************************
* This script provides syntax highlighting support for
* the N-Triples format.
* N-Triples format specification:
* https://ww... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/octave/octave.js | mode/octave/octave.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/mllike/mllike.js | mode/mllike/mllike.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/perl/perl.js | mode/perl/perl.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
// CodeMirror2 mode/perl/perl.js (text/x-perl) beta 0.10 (2011-11-08)
// This is a part of CodeMirror from https://github.com/sabaca/CodeMirror_mode_perl (mail@sabaca.com)
(function(mod) {... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | true |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/idl/idl.js | mode/idl/idl.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/asn.1/asn.1.js | mode/asn.1/asn.1.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/vue/vue.js | mode/vue/vue.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function (mod) {
"use strict";
if (typeof exports === "object" && typeof module === "object") {// CommonJS
mod(require("../../lib/codemirror"),
require("../../addon/mode/ov... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/fortran/fortran.js | mode/fortran/fortran.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | false |
codemirror/codemirror5 | https://github.com/codemirror/codemirror5/blob/78555dd4ac9bc691f081eec8266a01d3fbcc0d4e/mode/css/css.js | mode/css/css.js | // CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/5/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) /... | javascript | MIT | 78555dd4ac9bc691f081eec8266a01d3fbcc0d4e | 2026-01-04T15:02:45.128819Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.