{"_id":"@d556f8/gws-emul-core","_rev":"3-d8ff134965a0c7b0fd775c3b061af458","name":"@d556f8/gws-emul-core","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@d556f8/gws-emul-core","version":"0.1.0","keywords":["google-apps-script","gas","emulator","testing","spreadsheetapp","driveapp","mock"],"author":{"name":"Juhyeon Lee","email":"l.juhyeonni@gmail.com"},"license":"MIT","_id":"@d556f8/gws-emul-core@0.1.0","maintainers":[{"name":"d556f8","email":"l.juhyeonni@gmail.com"}],"homepage":"https://github.com/juhyeonni/gws-emul#readme","bugs":{"url":"https://github.com/juhyeonni/gws-emul/issues"},"dist":{"shasum":"2d724764f98a47f74894eca006de96ea4f1b5976","tarball":"https://registry.npmjs.org/@d556f8/gws-emul-core/-/gws-emul-core-0.1.0.tgz","fileCount":51,"integrity":"sha512-65U4uxdF2umA1j2EgSfdh4KGHlbjSo0pFbtvxknL6D9NKOp3rilobsviLm+dk4X8TpuWWl1sflh8AZJikYZ8lg==","signatures":[{"sig":"MEUCIQDJN+Q45TcT3a0GUuGTo4Jwgi9iNrD3v8TbRP4lIo98AgIgIHuPrPL0iQk2qxn7/oYc9m0H/Y8DuZQjxfvXO4Fus+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89060},"main":"./dist/index.js","type":"module","_from":"file:d556f8-gws-emul-core-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./chat-testkit":{"types":"./dist/chat-testkit/index.d.ts","default":"./dist/chat-testkit/index.js"},"./vitest-setup":{"types":"./dist/vitest-setup.d.ts","default":"./dist/vitest-setup.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"d556f8","email":"l.juhyeonni@gmail.com"},"_resolved":"/private/var/folders/bd/dg89nk9d7zx84nyr42c0sv_r0000gp/T/ed7c701644e5014f7366b418ed7b8346/d556f8-gws-emul-core-0.1.0.tgz","_integrity":"sha512-65U4uxdF2umA1j2EgSfdh4KGHlbjSo0pFbtvxknL6D9NKOp3rilobsviLm+dk4X8TpuWWl1sflh8AZJikYZ8lg==","repository":{"url":"git+https://github.com/juhyeonni/gws-emul.git","type":"git","directory":"packages/core"},"_npmVersion":"11.12.1","description":"Google Apps Script runtime emulator — SpreadsheetApp, DriveApp, Chat and friends, in-process for local tests.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2","@types/node":"^26.1.1","@types/google-apps-script":"^2.0.11"},"_npmOperationalInternal":{"tmp":"tmp/gws-emul-core_0.1.0_1788253374576_0.6762525968270683","host":"s3://npm-registry-packages-npm-production"},"deprecated":"moved to @gws-emul/core"},"0.1.1":{"name":"@d556f8/gws-emul-core","version":"0.1.1","keywords":["google-apps-script","gas","emulator","testing","spreadsheetapp","driveapp","mock"],"author":{"name":"Juhyeon Lee","email":"l.juhyeonni@gmail.com"},"license":"MIT","_id":"@d556f8/gws-emul-core@0.1.1","maintainers":[{"name":"d556f8","email":"l.juhyeonni@gmail.com"}],"homepage":"https://github.com/juhyeonni/gws-emul#readme","bugs":{"url":"https://github.com/juhyeonni/gws-emul/issues"},"dist":{"shasum":"85e806684f5e235138b60b4273a228b4583c23c7","tarball":"https://registry.npmjs.org/@d556f8/gws-emul-core/-/gws-emul-core-0.1.1.tgz","fileCount":51,"integrity":"sha512-wv2YFIORLPODOV8mWk879xwrGihEqzC+epfKD3fg3aPiKQFve1x6HmCDyB1JNUWXU/0LIfQjK4vgU7lR18sp1w==","signatures":[{"sig":"MEUCICpydrFBLl0fCYG8t7R1KCLsI+6/WBQ+JgI6SeSR56WhAiEA3DYQD+sgxmmotwmreSJHECq80ZBYAASwdFhNpEJ+QD4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89095},"main":"./dist/index.js","type":"module","_from":"file:d556f8-gws-emul-core-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./chat-testkit":{"types":"./dist/chat-testkit/index.d.ts","default":"./dist/chat-testkit/index.js"},"./vitest-setup":{"types":"./dist/vitest-setup.d.ts","default":"./dist/vitest-setup.js"}},"private":false,"scripts":{"test":"vitest run","build":"tsc -p tsconfig.build.json","typecheck":"tsc --noEmit"},"_npmUser":{"name":"d556f8","email":"l.juhyeonni@gmail.com"},"_resolved":"/private/var/folders/bd/dg89nk9d7zx84nyr42c0sv_r0000gp/T/ffc7c6aeb813e29a918354df617422a0/d556f8-gws-emul-core-0.1.1.tgz","_integrity":"sha512-wv2YFIORLPODOV8mWk879xwrGihEqzC+epfKD3fg3aPiKQFve1x6HmCDyB1JNUWXU/0LIfQjK4vgU7lR18sp1w==","repository":{"url":"git+https://github.com/juhyeonni/gws-emul.git","type":"git","directory":"packages/core"},"_npmVersion":"11.12.1","description":"Google Apps Script runtime emulator — SpreadsheetApp, DriveApp, Chat and friends, in-process for local tests.","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^4.1.10","typescript":"^7.0.2","@types/node":"^26.1.1","@types/google-apps-script":"^2.0.11"},"_npmOperationalInternal":{"tmp":"tmp/gws-emul-core_0.1.1_1788254192354_0.3452837884215605","host":"s3://npm-registry-packages-npm-production"},"deprecated":"moved to @gws-emul/core"}},"time":{"created":"2026-09-01T09:02:54.270Z","modified":"2026-09-03T09:04:51.271Z","0.1.0":"2026-09-01T09:02:54.707Z","0.1.1":"2026-09-01T09:16:32.492Z"},"bugs":{"url":"https://github.com/juhyeonni/gws-emul/issues"},"author":{"name":"Juhyeon Lee","email":"l.juhyeonni@gmail.com"},"license":"MIT","homepage":"https://github.com/juhyeonni/gws-emul#readme","keywords":["google-apps-script","gas","emulator","testing","spreadsheetapp","driveapp","mock"],"repository":{"url":"git+https://github.com/juhyeonni/gws-emul.git","type":"git","directory":"packages/core"},"description":"Google Apps Script runtime emulator — SpreadsheetApp, DriveApp, Chat and friends, in-process for local tests.","maintainers":[{"name":"d556f8","email":"l.juhyeonni@gmail.com"}],"readme":"# @d556f8/gws-emul-core\n\nThe Google Apps Script globals and the state store behind\n[gws-emul](https://github.com/juhyeonni/gws-emul).\n\n```sh\npnpm add -D @d556f8/gws-emul-core\n```\n\n```ts\nimport { installGasGlobals, configure, exportState } from \"@d556f8/gws-emul-core\";\n\ninstallGasGlobals();               // SpreadsheetApp, DriveApp, Session, … on globalThis\nconfigure({ effectiveUser: \"dev@example.com\" });\n```\n\nEmulated globals: `SpreadsheetApp`, `DriveApp`, `Drive` (advanced), `Session`,\n`PropertiesService`, `CacheService`, `LockService`, `UrlFetchApp`,\n`CalendarApp`, `ScriptApp`, `Utilities`, `ContentService`, `HtmlService`,\n`People`.\n\nControl API (not GAS — the emulator's own handles): `configure`, `runAs`,\n`runAsUser`, `exportState`, `importState`, `resetEmulator`, `persistState`,\n`stubFetch`, `setActiveSpreadsheet`, `fireTrigger`, `seedDirectoryPeople`,\n`recordScriptHistoryCall`.\n\nSubpath exports: `@d556f8/gws-emul-core/vitest-setup` (installs the globals for a test\nrun), `@d556f8/gws-emul-core/chat-testkit` (Google Chat event/card helpers).\n\n**The surface is partial by design.** `FIDELITY.md` in this package lists every\nknown deviation with its reason and upgrade path — read it before assuming a\nmethod exists. Notably: no singular `Range.getValue`/`setValue`, no A1 notation\nin `getRange`, no `Utilities.formatDate`, and `DriveApp` looks items up by id\nonly.\n\nMIT © Juhyeon Lee\n","readmeFilename":"README.md"}