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 |
|---|---|---|---|---|---|---|---|---|
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/cs.js | dist/js/i18n/cs.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/cs",[],function(){function e(e,n){switch(e){case 2:return n?"dva":"dvě";case 3:return"tři";case 4:return"čt... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/ru.js | dist/js/i18n/ru.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ru",[],function(){function n(n,e,r,u){return n%10<5&&n%10>0&&n%100<5||n%100>20?n%10>1?r:e:u}return{errorLoa... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/dsb.js | dist/js/i18n/dsb.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/dsb",[],function(){var n=["znamuško","znamušce","znamuška","znamuškow"],e=["zapisk","zapiska","zapiski","za... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/fi.js | dist/js/i18n/fi.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/fi",[],function(){return{errorLoading:function(){return"Tuloksia ei saatu ladattua."},inputTooLong:function... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/et.js | dist/js/i18n/et.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/et",[],function(){return{inputTooLong:function(e){var n=e.input.length-e.maximum,t="Sisesta "+n+" täht";ret... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/sk.js | dist/js/i18n/sk.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/sk",[],function(){var e={2:function(e){return e?"dva":"dve"},3:function(){return"tri"},4:function(){return"... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/af.js | dist/js/i18n/af.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/af",[],function(){return{errorLoading:function(){return"Die resultate kon nie gelaai word nie."},inputTooLo... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/bn.js | dist/js/i18n/bn.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/bn",[],function(){return{errorLoading:function(){return"ফলাফলগুলি লোড করা যায়নি।"},inputTooLong:function(n... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/vi.js | dist/js/i18n/vi.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/vi",[],function(){return{inputTooLong:function(n){return"Vui lòng xóa bớt "+(n.input.length-n.maximum)+" ký... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/it.js | dist/js/i18n/it.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/it",[],function(){return{errorLoading:function(){return"I risultati non possono essere caricati."},inputToo... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/az.js | dist/js/i18n/az.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/az",[],function(){return{inputTooLong:function(n){return n.input.length-n.maximum+" simvol silin"},inputToo... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/mk.js | dist/js/i18n/mk.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/mk",[],function(){return{inputTooLong:function(n){var e=(n.input.length,n.maximum,"Ве молиме внесете "+n.ma... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/sv.js | dist/js/i18n/sv.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/sv",[],function(){return{errorLoading:function(){return"Resultat kunde inte laddas."},inputTooLong:function... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/ca.js | dist/js/i18n/ca.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/ca",[],function(){return{errorLoading:function(){return"La càrrega ha fallat"},inputTooLong:function(e){var... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/ka.js | dist/js/i18n/ka.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ka",[],function(){return{errorLoading:function(){return"მონაცემების ჩატვირთვა შეუძლებელია."},inputTooLong:f... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/uk.js | dist/js/i18n/uk.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/uk",[],function(){function n(n,e,u,r){return n%100>10&&n%100<15?r:n%10==1?e:n%10>1&&n%10<5?u:r}return{error... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/gl.js | dist/js/i18n/gl.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/gl",[],function(){return{errorLoading:function(){return"Non foi posíbel cargar os resultados."},inputTooLon... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
select2/select2 | https://github.com/select2/select2/blob/595494a72fee67b0a61c64701cbb72e3121f97b9/dist/js/i18n/ja.js | dist/js/i18n/ja.js | /*! Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/ja",[],function(){return{errorLoading:function(){return"結果が読み込まれませんでした"},inputTooLong:function(n){return n.... | javascript | MIT | 595494a72fee67b0a61c64701cbb72e3121f97b9 | 2026-01-04T15:04:04.887474Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/cli.js | cli.js | const inquirer = require("inquirer");
const configuration = require("./modules.conf.js");
console.log(configuration);
function uniq(a) {
var prims = { boolean: {}, number: {}, string: {} },
objs = [];
return a.filter(function(item) {
var type = typeof item;
if (type in prims)
if (Object.prototy... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/.eslintrc.js | .eslintrc.js | module.exports = {
parser: "@typescript-eslint/parser",
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
env: {
browser: true,
commonjs: true,
es6: true,
node: true,
jasmine: true
},
plugins: ["@typescript-eslint", "jasmine"],
globals: {
Atomics: "readonly",
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/rollup.config.js | rollup.config.js | import terser from "@rollup/plugin-terser";
import { babel } from "@rollup/plugin-babel";
import RollupPluginPreprocess from "rollup-plugin-preprocess";
import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";
import replace from "@rollup/plugin-replace";
import license from "rol... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/modules.conf.js | modules.conf.js | var configuration = {
license: {
name: "License",
folder: "",
description: "MIT License Header",
deps: []
},
polyfill: {
name: "Polyfill",
folder: "libs",
description: "Adds missing functions to older browsers",
deps: []
},
jspdf: {
name: "Core",
folder: "",
descr... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/deletedocs.js | deletedocs.js | const deleteFolder = require("folder-delete");
try {
deleteFolder("docs", { debugLog: false });
} catch (e) {}
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/fontconverter/filereader.js | fontconverter/filereader.js | /*!
FileReader.js - v0.99
A lightweight wrapper for common FileReader usage.
Copyright 2014 Brian Grinstead - MIT License.
See http://github.com/bgrins/filereader.js for documentation.
*/
(function(window, document) {
var FileReader = window.FileReader;
var FileReaderSyncSupport = false;
var workerScript ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/fontconverter/FileSaver.js | fontconverter/FileSaver.js | /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("htt... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/polyfills.js | src/polyfills.js | import "core-js/es/promise";
import "core-js/es/array/map";
import "core-js/es/array/is-array";
import "core-js/es/array/reduce";
import "core-js/es/array/for-each";
import "core-js/es/array/find";
import "core-js/es/object/create";
import "core-js/es/object/keys";
import "core-js/es/object/values";
import "core-js/es/... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/jspdf.js | src/jspdf.js | /* eslint-disable no-console */
// @if MODULE_FORMAT!='cjs'
import { saveAs } from "./libs/FileSaver.js";
// @endif
import { globalObject } from "./libs/globalObject.js";
import { RGBColor } from "./libs/rgbcolor.js";
import { btoa } from "./libs/AtobBtoa.js";
import { console } from "./libs/console.js";
import { PDFS... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/index.js | src/index.js | import { jsPDF } from "./jspdf.js";
export * from "./jspdf.js";
export * from "./modules/acroform.js";
import "./modules/addimage.js";
import "./modules/annotations.js";
import "./modules/arabic.js";
import "./modules/autoprint.js";
import "./modules/canvas.js";
import "./modules/cell.js";
import "./modules/context2d.... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/license.js | src/license.js | /** @license
*
* jsPDF - PDF Document creation from JavaScript
* Version ${data.versionID} Built on ${data.builtOn}
* CommitID ${data.commitID}
*
* Copyright (c) 2010-2025 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2015-2025 yWorks GmbH, http://www.yworks.co... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/bmp_support.js | src/modules/bmp_support.js | import { JPEGEncoder } from "../libs/JPEGEncoder.js";
import { BmpDecoder } from "../libs/BMPDecoder.js";
import { jsPDF } from "../jspdf.js";
/**
* @license
* Copyright (c) 2018 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
/**
* jsPDF bmp Support PlugIn
* @n... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/rgba_support.js | src/modules/rgba_support.js | /**
* @license
*
* Copyright (c) 2021 Antti Palola, https://github.com/Pantura
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation th... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/autoprint.js | src/modules/autoprint.js | /** @license
* jsPDF Autoprint Plugin
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* @name autoprint
* @module
*/
(function(jsPDFAPI) {
"use strict";
/**
* Makes the PDF automatically open the print-Dialog when opened in a... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/setlanguage.js | src/modules/setlanguage.js | /**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* jsPDF setLanguage Plugin
*
* @name setLanguage
* @module
*/
(function(jsPDFAPI) {
"use strict";
/**
* Add Language Tag to the generated PDF
*
* @name setLa... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/webp_support.js | src/modules/webp_support.js | /**
* @license
* Copyright (c) 2019 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
import { JPEGEncoder } from "../libs/JPEGEncoder.js";
import { WebPDecoder } from "../libs/WebPDecoder.js";
/**
* jsPDF webp Support PlugIn
*... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/ttfsupport.js | src/modules/ttfsupport.js | /**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
import { atob } from "../libs/AtobBtoa.js";
/**
* @name ttfsupport
* @module
*/
(function(jsPDF) {
"use strict";
var binaryStringToUint8Array = function(binary_string) {
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/acroform.js | src/modules/acroform.js | /* global jsPDF */
/**
* @license
* Copyright (c) 2016 Alexander Weidt,
* https://github.com/BiggA94
*
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
*/
/**
* jsPDF AcroForm Plugin
* @module AcroForm
*/
import { jsPDF } from "../jspdf.js";
var jsPDFAPI = jsPDF.API;
var scaleFac... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/xmp_metadata.js | src/modules/xmp_metadata.js | /** ====================================================================
* @license
* jsPDF XMP metadata plugin
* Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Soft... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/cell.js | src/modules/cell.js | /**
* @license
* ====================================================================
* Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
* 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
* 2013 Lee Driscoll, https://github.com/lsdriscoll
* 2014 Juan Pablo... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/filters.js | src/modules/filters.js | /**
* @license
* jsPDF filters PlugIn
* Copyright (c) 2014 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
import { zlibSync } from "../libs/fflate.js";
(function(jsPDFAPI) {
"use strict";
var ASCII85Encode = function(a) ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/fileloading.js | src/modules/fileloading.js | /**
* @license
* jsPDF fileloading PlugIn
* Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* @name fileloading
* @module
*/
(function(jsPDFAPI) {
/**
* @name loadFile
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/arabic.js | src/modules/arabic.js | /**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* jsPDF arabic parser PlugIn
*
* @name arabic
* @module
*/
(function(jsPDFAPI) {
"use strict";
/**
* Arabic shape substitution... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/jpeg_support.js | src/modules/jpeg_support.js | /**
* @license
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* jsPDF jpeg Support PlugIn
*
* @name jpeg_support
* @module
*/
(function(jsPDFAPI) {
"use strict";
/**
* 0xc0 (SOF) Huffman - Baseline DCT
* 0xc1 (SOF) Huf... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/utf8.js | src/modules/utf8.js | import { jsPDF } from "../jspdf.js";
import { toPDFName } from "../libs/pdfname.js";
/**
* @name utf8
* @module
*/
(function(jsPDF) {
"use strict";
var jsPDFAPI = jsPDF.API;
/***************************************************************************************************/
/* function : pdfEscape16 ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/addimage.js | src/modules/addimage.js | /** @license
* jsPDF addImage plugin
* Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/
* 2013 Chris Dowling, https://github.com/gingerchris
* 2013 Trinh Ho, https://github.com/ineedfat
* 2013 Edwin Alejandro Perez, https://github.com/eaparango
* ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/svg.js | src/modules/svg.js | /** @license
* Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/png_support.js | src/modules/png_support.js | /**
* @license
*
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation t... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/javascript.js | src/modules/javascript.js | /**
* @license
* ====================================================================
* Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/viewerpreferences.js | src/modules/viewerpreferences.js | /**
* @license
* jsPDF viewerPreferences Plugin
* @author Aras Abbasi (github.com/arasabbasi)
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* Adds the ability to set ViewerPreferences and by thus
* controlling the way the document is... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/standard_fonts_metrics.js | src/modules/standard_fonts_metrics.js | /** @license
jsPDF standard_fonts_metrics plugin
* Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
* MIT license.
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/html.js | src/modules/html.js | /**
* @license
* Copyright (c) 2018 Erik Koopmans
* Released under the MIT License.
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
import { normalizeFontFace } from "../libs/fontFace.js";
import { globalObject } from "../libs/globalObject... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/split_text_to_size.js | src/modules/split_text_to_size.js | /** @license
* MIT license.
* Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
* 2014 Diego Casorran, https://github.com/diegocr
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/annotations.js | src/modules/annotations.js | /**
* @license
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
/**
* jsPDF Annotations PlugIn
*
* There are many types of annotations in a PDF document. Annotations are placed
* on a page at a parti... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/vfs.js | src/modules/vfs.js | /**
* @license
* jsPDF virtual FileSystem functionality
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* Use the vFS to handle files
*
* @name vFS
* @module
*/
(function(jsPDFAPI) {
"use strict";
var _initializeVFS = functio... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/total_pages.js | src/modules/total_pages.js | /**
* @license
* ====================================================================
* Copyright (c) 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/gif_support.js | src/modules/gif_support.js | /**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
import { GifReader } from "../libs/omggif.js";
import { JPEGEncoder } from "../libs/JPEGEncoder.js";
/**
* jsPDF Gif Support PlugIn
*
* @nam... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/outline.js | src/modules/outline.js | /**
* @license
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* jsPDF Outline PlugIn
*
* Generates a PDF Outline
* @name outline
* @module
*/
(function(j... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/context2d.js | src/modules/context2d.js | /* eslint-disable no-fallthrough */
/* eslint-disable no-console */
/**
* @license
* jsPDF Context2D PlugIn Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
*
* Licensed under the MIT License. http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
import { RGBCol... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/modules/canvas.js | src/modules/canvas.js | /**
* @license
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/
import { jsPDF } from "../jspdf.js";
/**
* jsPDF Canvas PlugIn
* This plugin mimics the HTML5 Canvas
*
* The goal is to provide a way ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/Blob.js | src/libs/Blob.js | /**
* @license
* Blob.js
* A Blob, File, FileReader & URL implementation.
* 2018-08-09
*
* By Eli Grey, http://eligrey.com
* By Jimmy Wärting, https://github.com/jimmywarting
* License: MIT
* See https://github.com/eligrey/Blob.js/blob/master/LICENSE.md
*/
import { globalObject as global } from "./globalOb... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/rgbcolor.js | src/libs/rgbcolor.js | /**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
* @license Use it if you like it
*/
function RGBColor(color_string) {
color_string = color_string || "";
this.ok = false;
// strip any leading #
if (color_stri... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/globalObject.js | src/libs/globalObject.js | export var globalObject = (function() {
return "undefined" !== typeof window
? window
: "undefined" !== typeof global
? global
: "undefined" !== typeof self
? self
: this;
})();
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/AtobBtoa.js | src/libs/AtobBtoa.js | import { globalObject } from "./globalObject.js";
const atob = globalObject.atob.bind(globalObject);
const btoa = globalObject.btoa.bind(globalObject);
export { atob, btoa };
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/md5.js | src/libs/md5.js | /**
* @license
* Joseph Myers does not specify a particular license for his work.
*
* Author: Joseph Myers
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
*
* Modified by: Owen Leong
*/
function md5cycle(x, k) {
var a = x[0],
b = x[1],
c = x[2],
d = x[3];
a = ff(a, b, c, d,... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/fontFace.js | src/libs/fontFace.js | function toLookup(arr) {
return arr.reduce(function(lookup, name, index) {
lookup[name] = index;
return lookup;
}, {});
}
var fontStyleOrder = {
italic: ["italic", "oblique", "normal"],
oblique: ["oblique", "italic", "normal"],
normal: ["normal", "oblique", "italic"]
};
var fontStretchOrder = [
"... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/fflate.js | src/libs/fflate.js | // Tree shaking reduces bundle size
export { zlibSync, unzlibSync } from "fflate";
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/JPEGEncoder.js | src/libs/JPEGEncoder.js | /**
* @license
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/omggif.js | src/libs/omggif.js | /**
* @license
* (c) Dean McNamee <dean@gmail.com>, 2013.
*
* https://github.com/deanm/omggif
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/WebPDecoder.js | src/libs/WebPDecoder.js | function WebPDecoder(imageData) {
/** @license
* Copyright 2011 Google Inc.
*
* This code is licensed under the same terms as WebM:
* Software License Agreement: http://www.webmproject.org/license/software/
* Additional IP Rights Grant: http://www.webmproject.org/license/additional/
* ----------... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/rc4.js | src/libs/rc4.js | /**
* @license
* FPDF is released under a permissive license: there is no usage restriction.
* You may embed it freely in your application (commercial or not), with or
* without modifications.
*
* Reference: http://www.fpdf.org/en/script/script37.php
*/
function repeat(str, num) {
return new Array(num + 1).jo... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/ttffont.js | src/libs/ttffont.js | /* eslint-disable no-control-regex */
/************************************************
* Title : custom font *
* Start Data : 2017. 01. 22. *
* Comment : TEXT API *
************************************************/
/*****************************... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/console.js | src/libs/console.js | import { globalObject } from "./globalObject.js";
function consoleLog() {
if (globalObject.console && typeof globalObject.console.log === "function") {
globalObject.console.log.apply(globalObject.console, arguments);
}
}
function consoleWarn(str) {
if (globalObject.console) {
if (typeof globalObject.con... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/pdfname.js | src/libs/pdfname.js | /**
* Convert string to `PDF Name Object`.
* Detail: PDF Reference 1.3 - Chapter 3.2.4 Name Object
* @param str
*/
function toPDFName(str) {
// eslint-disable-next-line no-control-regex
if (/[^\u0000-\u00ff]/.test(str)) {
// non ascii string
throw new Error(
"Invalid PDF Name Object: " + str + ", ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/fast-png.js | src/libs/fast-png.js | export { decode } from "fast-png";
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/BMPDecoder.js | src/libs/BMPDecoder.js | /**
* @author shaozilee
*
* Bmp format decoder,support 1bit 4bit 8bit 24bit bmp
*
*/
import { console } from "./console.js";
function BmpDecoder(buffer, is_with_alpha) {
this.pos = 0;
this.buffer = buffer;
this.datav = new DataView(buffer.buffer);
this.is_with_alpha = !!is_with_alpha;
this.bottom_up = ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/pdfsecurity.js | src/libs/pdfsecurity.js | /**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
* Author: Owen Leong (@owenl131)
* Date: 15 Oct 2020
* References:
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
* http://ww... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/FileSaver.js | src/libs/FileSaver.js | /**
* @license
* FileSaver.js
* A saveAs() FileSaver implementation.
*
* By Eli Grey, http://eligrey.com
*
* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)
* source : http://purl.eligrey.com/github/FileSaver.js
*/
import { globalObject as _global } from "./globalObject.js";
im... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/src/libs/bidiEngine.js | src/libs/bidiEngine.js | /**
* @license
* Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
* MIT License
*/
import { jsPDF } from "../jspdf.js";
(function(jsPDF) {
"use strict";
/**
* Table of Unicode types.
*
* Generated by:
*
* var bidi = require("./bidi/index");
* var bidi_accumulate = bidi.slic... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | true |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/.eslintrc.js | test/.eslintrc.js | module.exports = {
globals: {
loadGlobals: "readonly",
isNode: "readonly",
comparePdf: "readonly"
}
};
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/karma.common.conf.js | test/karma.common.conf.js | var karmaConfig = {
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: "..",
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ["jasmine"],
// list of files / patterns to load in the browser
// list of files to excl... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/utils/compare.js | test/utils/compare.js | /* eslint-disable no-console */
/* global XMLHttpRequest, expect, fail */
var globalVar =
(typeof self !== "undefined" && self) ||
(typeof global !== "undefined" && global) ||
(typeof window !== "undefined" && window) ||
Function("return this")();
globalVar.sendReference = function() {};
globalVar.loadBinaryRe... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/utils/reference-server.js | test/utils/reference-server.js | /* eslint-disable no-console */
'use strict'
/**
* The reference server collects and saves reference PDFs for the tests.
*/
const http = require('http')
const PORT = 9090
const fs = require('fs')
const logUtils = require('log-utils')
const chalk = require('chalk')
// Create a server
const server = http.createServer... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/unit/asyncImportHelper.js | test/unit/asyncImportHelper.js | import {
jsPDF,
AcroForm,
AcroFormChoiceField,
AcroFormListBox,
AcroFormComboBox,
AcroFormEditBox,
AcroFormButton,
AcroFormPushButton,
AcroFormRadioButton,
AcroFormCheckBox,
AcroFormTextField,
AcroFormPasswordField,
AcroFormAppearance
} from "/base/src/index.js";
window.importsReady({
jsPDF... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/unit/karma.conf.js | test/unit/karma.conf.js | // Karma configuration
"use strict";
const karmaConfig = require("../karma.common.conf.js");
const resolve = require("rollup-plugin-node-resolve");
module.exports = config => {
config.set({
...karmaConfig,
basePath: "../../",
files: [
"test/unit/loadGlobals.js",
{
pattern: "test/unit... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/unit/loadGlobals.js | test/unit/loadGlobals.js | let resolve;
const promise = new Promise(res => {
resolve = res;
});
window.importsReady = function(jsPDF) {
resolve(jsPDF);
};
window.loadGlobals = async function loadGlobals() {
if (window.jsPDF && window.Canvg) {
return;
}
const jsPDF = await promise;
window.jsPDF = jsPDF.jsPDF;
window.AcroForm = ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/amd/amd.spec.js | test/deployment/amd/amd.spec.js | describe("Modules should be loaded by AMD", () => {
beforeAll(loadGlobals);
it("jsPDF", () => {
expect(window.jsPDF).toBeDefined();
});
it("canvg", () => {
expect(window.Canvg).toBeDefined();
});
});
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/amd/karma.conf.js | test/deployment/amd/karma.conf.js | const karmaConfig = require("../../karma.common.conf.js");
module.exports = config => {
config.set({
...karmaConfig,
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: "../../..",
// list of files / patterns to load in the browser
files: [
"dist/polyfill... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/amd/loadGlobals.js | test/deployment/amd/loadGlobals.js | require.config({
baseUrl: "/base",
paths: {
jspdf: "dist",
canvg: "node_modules/canvg/lib/umd",
html2canvas: "node_modules/html2canvas/dist/html2canvas",
dompurify: "node_modules/dompurify/dist/purify"
}
});
window.loadGlobals = function loadGlobals() {
if (window.jsPDF && window.Canvg) {
r... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/node/loadGlobals.js | test/deployment/node/loadGlobals.js | /* eslint-disable no-unused-vars */
global.loadGlobals = function() {
global.Canvg = require("canvg").Canvg;
const jsPDF = require("../../../dist/jspdf.node.js");
global.jsPDF = jsPDF.jsPDF;
global.AcroForm = jsPDF.AcroForm;
global.ChoiceField = jsPDF.AcroFormChoiceField;
global.ListBox = jsPDF.AcroFormLis... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/webworker/karma.conf.js | test/deployment/webworker/karma.conf.js | const karmaConfig = require("../../karma.common.conf.js");
module.exports = config => {
config.set({
...karmaConfig,
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: "../../..",
// list of files / patterns to load in the browser
files: [
"node_modules/... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/webworker/worker.js | test/deployment/webworker/worker.js | importScripts("/base/dist/jspdf.umd.js");
var doc = new jspdf.jsPDF();
doc.text("Webworker test", 30, 30);
var output = doc.output();
postMessage(output);
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/webworker/webworker.spec.js | test/deployment/webworker/webworker.spec.js | describe("Webworker", () => {
it("basic functionality", async () => {
const worker = new Worker("/base/test/deployment/webworker/worker.js");
const output = await new Promise(resolve => {
worker.onmessage = ({ data }) => resolve(data);
});
comparePdf(output, "webworker-basic.pdf", "webworker");
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/esm/esm.spec.js | test/deployment/esm/esm.spec.js | describe("Modules should be loaded", () => {
beforeAll(loadGlobals);
it("jsPDF", () => {
expect(window.jsPDF).toBeDefined();
});
it("canvg", () => {
expect(window.Canvg).toBeDefined();
});
});
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/esm/asyncImportHelper.js | test/deployment/esm/asyncImportHelper.js | import {
jsPDF,
AcroForm,
AcroFormChoiceField,
AcroFormListBox,
AcroFormComboBox,
AcroFormEditBox,
AcroFormButton,
AcroFormPushButton,
AcroFormRadioButton,
AcroFormCheckBox,
AcroFormTextField,
AcroFormPasswordField,
AcroFormAppearance
} from "../../../dist/jspdf.es.js";
window.importsReady({
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/esm/karma.conf.js | test/deployment/esm/karma.conf.js | const karmaConfig = require("../../karma.common.conf.js");
const resolve = require("rollup-plugin-node-resolve");
const commonjs = require("rollup-plugin-commonjs");
module.exports = config => {
config.set({
...karmaConfig,
// base path that will be used to resolve all patterns (eg. files, exclude)
base... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/esm/loadGlobals.js | test/deployment/esm/loadGlobals.js | let resolve;
const promise = new Promise(res => {
resolve = res;
});
window.importsReady = function(jsPDF) {
resolve(jsPDF);
};
window.loadGlobals = async function loadGlobals() {
if (window.jsPDF && window.Canvg) {
return;
}
const jsPDF = await promise;
window.jsPDF = jsPDF.jsPDF;
window.AcroForm = ... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/globals/globals.spec.js | test/deployment/globals/globals.spec.js | describe("globals are defined", () => {
beforeAll(loadGlobals);
it("jsPDF", () => {
expect(jsPDF).toBeDefined();
});
it("TextField", () => {
expect(TextField).toBeDefined();
});
it("canvg", () => {
expect(Canvg).toBeDefined();
});
});
| javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/globals/karma.conf.js | test/deployment/globals/karma.conf.js | const karmaConfig = require("../../karma.common.conf.js");
module.exports = config => {
config.set({
...karmaConfig,
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: "../../..",
// list of files / patterns to load in the browser
files: [
"dist/polyfill... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/globals/loadGlobals.js | test/deployment/globals/loadGlobals.js | window.loadGlobals = function loadGlobals() {
if (window.jsPDF && window.Canvg) {
return;
}
const jsPDF = window.jspdf;
window.jsPDF = jsPDF.jsPDF;
window.AcroForm = jsPDF.AcroForm;
window.ChoiceField = jsPDF.AcroFormChoiceField;
window.ListBox = jsPDF.AcroFormListBox;
window.ComboBox = jsPDF.AcroFo... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/deployment/typescript/karma.conf.js | test/deployment/typescript/karma.conf.js | const karmaConfig = require("../../karma.common.conf.js");
const typescript = require("@rollup/plugin-typescript");
const replace = require("@rollup/plugin-replace");
const resolve = require("rollup-plugin-node-resolve");
const commonjs = require("rollup-plugin-commonjs");
module.exports = config => {
config.set({
... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
parallax/jsPDF | https://github.com/parallax/jsPDF/blob/e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c/test/specs/jpeg.spec.js | test/specs/jpeg.spec.js | /* global describe, it, jsPDF, comparePdf, loadBinaryResource */
/**
* Standard spec tests
*/
describe("Module: JPEGSupport", () => {
beforeAll(loadGlobals);
it("one blackpixel", () => {
var blackpixel =
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwc... | javascript | MIT | e6cf03db2499ef0a9ccc54b2aba45156c5b32b3c | 2026-01-04T15:01:19.070412Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.