Current Dev State

This commit is contained in:
Tim Lorsbach
2025-06-23 20:13:54 +02:00
parent b4f9bb277d
commit ded50edaa2
22617 changed files with 4345095 additions and 174 deletions

19
static/js/ketcher2/node_modules/from2-string/index.js generated vendored Normal file
View File

@ -0,0 +1,19 @@
const assert = require('assert')
const from = require('from2')
module.exports = fromString
// create a stream from a string
// str -> stream
function fromString (string) {
assert.equal(typeof string, 'string')
return from(function (size, next) {
if (string.length <= 0) return this.push(null)
const chunk = string.slice(0, size)
string = string.slice(size)
next(null, chunk)
})
}