{"_id":"@demooz/story-short","_rev":"24-0e644a7f410e1b3c1497fb5f291678b5","name":"@demooz/story-short","dist-tags":{"latest":"1.0.20"},"versions":{"1.0.6":{"name":"@demooz/story-short","version":"1.0.6","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.6","dist":{"shasum":"e5d76fd727ad71ab30568aac9a0b667f7cc6b848","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.6.tgz","fileCount":5,"integrity":"sha512-5kIzHaY+g7uMepijdaQxPt4pobpAawqlhLI5IISv6Gr9wt/4+LkyOY32HNeREf+Ern8s9TzwBTDUSeJo2RG1lw==","signatures":[{"sig":"MEUCIHqwsZmfwTkmJzQ9yHaU1QGbT6oXkRc/nDDmYfISSgE+AiEA8GAA7QrHY6DGbD0aEWG1MN+9sBRqR+wn718myQRRLkw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11196},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.6_1719836831220_0.7075266533007432","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@demooz/story-short","version":"1.0.7","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.7","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"ece054450539546141e2b1bca75fc437da448886","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.7.tgz","fileCount":10,"integrity":"sha512-ifJ+a1WDy8paaDYOm7dHgEhB5Y2sOKnJZdxnO8D/rp2QRtwV/qhh4zygNjova8/EREQ/hnaz7cakbth/LErdcg==","signatures":[{"sig":"MEUCIFERXoceabky7mOYYFexYP0ugC9VCGBr9XlFmfTyFAQXAiEAqsBN/Juixa73As4xSHwV/y/5W3KwRoUTz/zP6ZIgzPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87207},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.7_1727873877196_0.18980724779221947","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@demooz/story-short","version":"1.0.8","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.8","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"c515cf89315cf649df1b960fa75d121f76a2549a","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.8.tgz","fileCount":10,"integrity":"sha512-4QgVYh0h4ekTFhMfCkqaRGHiB5sk5E4zn9o8dJJ7frMtTkNGXQfCF+6Ddp1Ov34dwbOcReasFeB/XD9nQk06Yw==","signatures":[{"sig":"MEYCIQC15lKzpGdy+3ZPeo20HC2tWa8ZjGCLkwgPRhXYSDWeoQIhAMqVYOoWKqJUi7+1SKBDyhgjDoGRRtQafk/ROso7BM/7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87207},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.8_1727943848825_0.48591894862328555","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@demooz/story-short","version":"1.0.9","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.9","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"0872ea0dc699776637c8b55d79d11f8ecb7d953c","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.9.tgz","fileCount":10,"integrity":"sha512-f1n6RTVDodjeiLu2md5JKRXMHnFjM9heQxhtzDN+LEx6ND+eFJ9jox/K94MjJ0l7lqfzh6trBnsgkxmy5AMMIw==","signatures":[{"sig":"MEQCICJiwzEc2uIyvn5oEkO3alOIxEEN4Mydx66m4QxR20jjAiBZYaKjaMN1OkedKdboB8raepZnZcuqXNe9hu+lRsLljA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87341},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.9_1727944165607_0.4925813128975134","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@demooz/story-short","version":"1.0.10","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.10","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"17fc9f5624eeae93895b6776e25c27bc17157e95","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.10.tgz","fileCount":10,"integrity":"sha512-6iRPsQsmsjboNISEUApoYtqV5izbCDKuFvoyXQWGmDbczGtsAsvynoXSWTY11+iNCV/clTz4x0tY466n1pGQ8A==","signatures":[{"sig":"MEUCIQC87tdetvb0DZO3ERSY6Cc1rCpVDt9Hi1Aim6Vs4b1ZogIgPaVeTRqsbnVqumSzNg1pujPZNbJ1tUpdkBpeOiXJ6Wc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87410},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","publish":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.10_1727944271528_0.2609866558734344","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@demooz/story-short","version":"1.0.11","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.11","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"b4b751df3d687148b666244e5076386474d37a87","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.11.tgz","fileCount":10,"integrity":"sha512-Gmx49QtSss6SvLqYONqhKWEwzB5jXOTQNP+UkYiQ6Stbq9+qh0S5eTmEfDsKEJetEgAbVUbPs5+7I3QpkePqTw==","signatures":[{"sig":"MEQCIHAJSjE/W5hg3evUyeRV9Rbkm/8drYqV/wNl6noqcz6EAiAIwyTsGZ0ezkOItj8RoGtlD2lvMglCHg2PM1fDlw3o9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87410},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","publish":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.11_1727944278289_0.7951917700870617","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"@demooz/story-short","version":"1.0.13","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.13","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"4cbdbbccf5e0605034cd6efea4a97747fe716b1c","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.13.tgz","fileCount":10,"integrity":"sha512-v5KXleyaYmTKvZ4TZcAK6ys8wzof1PyaRh/f3qu6l7ydDMeK8ohFH8yCgm39fy2MH+70I5qzz+GycR/CzSSt8A==","signatures":[{"sig":"MEYCIQDwqcnnvOkOlyk/YqJTeKyUfKUWOqUTrgbf3hpeS0cSSAIhAJf88wflwOa4b7vFv4/nv80obkHNcaY1o3UZUSESS2DF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87420},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","publish":"npm version patch && npm run build && npm publish && exit 1"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.13_1727944384652_0.3586261987237902","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"@demooz/story-short","version":"1.0.15","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.15","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"94ee516aabf9deaa03477a52c95aec325eca3a3e","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.15.tgz","fileCount":10,"integrity":"sha512-q2IRQxeCqNpwUk3Ew/TcuUOZYY+Zhx/Y1p8UoJK+V+ExRlMDSu4d7UUp819BEUxCzWkwgaxkFR8jSXyLIH31Mw==","signatures":[{"sig":"MEUCIQDPM77gjCBX8agdE0qoksiH4yFynEmfY7AHLT8LjvydFwIgbhP+2/SI5+NM55aq1urW6IRd2tNY0rLu7MSLRT8uDUU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87409},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","deploy":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.15_1727944480948_0.7200793105723868","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"@demooz/story-short","version":"1.0.16","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.16","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"98aea7b36899bb8fbdb139132affb3537fadda72","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.16.tgz","fileCount":10,"integrity":"sha512-7veVqXOcEJL4DJzHKmUrwBie/sEhCmeJ9hUf7rBhtE9nHzpNnZquWe8eKEKc1tQdqK7Jz1xkJ7SlnkMCyXsyeA==","signatures":[{"sig":"MEQCIH5e6Yi8LTDnUtfx4E1oeMTiX1FOGBBERB6VzbdCnV7kAiBYzZEE8UV7XJvZKIbFNiRGCNO6N4FpfstVakLc/3UZUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87415},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","deploy":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.16_1727948788427_0.4429090668601374","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"@demooz/story-short","version":"1.0.17","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.17","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"7617990cccfc43443a8cd7ab297f07a30bb9205b","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.17.tgz","fileCount":10,"integrity":"sha512-t1GEDw7lMtYFUK5v/g9omaXdBqsQsiGSHuo0LCRgxrlzXzjsvxY5uJiBWzv7p9+Z0yTTSrtpaqJqR1HWUxSxXA==","signatures":[{"sig":"MEUCIQCIRzYP/q0Mxj+YOACxbSlnSsqoXHzdKoT4XgsSIMlA7wIgTYC+R5P/DOdskQjSkTDmXEyCVvtUpRl14jQSOu4I0PA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87415},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","deploy":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.17_1728292575271_0.8296785456356359","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"@demooz/story-short","version":"1.0.18","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.18","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"e47feca8e2f5d6f91fef5917bf989053fff1728e","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.18.tgz","fileCount":10,"integrity":"sha512-UKDIK5sj30zrLpYmS1MokWp5Xgtnh2PmWyjKhtjof4pa11RbbSKMH/2EZWDZUVpgWEs5DHL89ma7Yi7L4/W2CQ==","signatures":[{"sig":"MEUCIDNj/p3I4CJyuCz5vqg7movsXj5morH6zfZe7yuf5bsHAiEA3nA5ibymrRHkvJ4f0qrezch78x/69N8JNswbqNYSZ88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87408},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","deploy":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.18_1728304686311_0.46952743037536093","host":"s3://npm-registry-packages"}},"1.0.19":{"name":"@demooz/story-short","version":"1.0.19","author":{"name":"Demooz"},"license":"MIT","_id":"@demooz/story-short@1.0.19","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"dist":{"shasum":"2340804380a2c178b7d90d3d398b396a10bde86b","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.19.tgz","fileCount":10,"integrity":"sha512-6sIWjDuagTcHSX8M70xnme1/uVI+15UdN5SfLrmfKJSCPFEvyFV8EebF/Jf9PQ49FnEX4+tCyz4YJkSMz+K+iQ==","signatures":[{"sig":"MEUCIDsNoodMr+RL+VdV1f+FBE5uYmftQ8W8+PRcu+Ora55sAiEAjMaKvtYphx8uf6UEVgLB7OWo2+uxeIoweVnurNBsH0I=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":87403},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","deploy":"npm version patch && npm run build && npm publish"},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"_npmVersion":"10.2.3","description":"Demooz Story Short","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.5.2","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/story-short_1.0.19_1728304959060_0.28029728679381094","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"@demooz/story-short","version":"1.0.20","description":"Demooz Story Short","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"npx -p typescript tsc --declaration --allowJs --emitDeclarationOnly && tsc","deploy":"npm version patch && npm run build && npm publish","test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Demooz"},"license":"MIT","devDependencies":{"@types/node":"^20.14.9","typescript":"^5.5.2"},"_id":"@demooz/story-short@1.0.20","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-ZcJMi8MK/5kTrRPpLxrZFJJNtYS91/pOLWemVLkVsHiON/ThTTM0uK8XN/awueCdZTpepTDImxr5FbhXxGiaYw==","shasum":"f25dc9985f4d5ebf7445fa76fa7ffca4bfd92ebf","tarball":"https://registry.npmjs.org/@demooz/story-short/-/story-short-1.0.20.tgz","fileCount":10,"unpackedSize":87407,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNcej22a3dyLtl4abafPXJj+scI9Hxr+sGnqnzwPhH2QIhALjBsOIftUztbvtRFmErxjgLruJTqtKzwoqcaMAost10"}]},"_npmUser":{"name":"demooz","email":"digital@atmospheres.tm.fr"},"directories":{},"maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/story-short_1.0.20_1728305423216_0.8744272171834386"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-27T13:34:50.537Z","modified":"2024-10-07T12:50:23.646Z","1.0.0":"2024-06-27T13:34:50.793Z","1.0.1":"2024-06-27T13:40:52.476Z","1.0.2":"2024-06-27T13:44:22.567Z","1.0.3":"2024-06-27T14:05:23.153Z","1.0.4":"2024-06-27T14:15:33.433Z","1.0.5":"2024-06-27T14:31:52.636Z","1.0.6":"2024-07-01T12:27:11.376Z","1.0.7":"2024-10-02T12:58:01.584Z","1.0.8":"2024-10-03T08:24:09.040Z","1.0.9":"2024-10-03T08:29:25.781Z","1.0.10":"2024-10-03T08:31:11.739Z","1.0.11":"2024-10-03T08:31:18.527Z","1.0.13":"2024-10-03T08:33:04.858Z","1.0.15":"2024-10-03T08:34:41.147Z","1.0.16":"2024-10-03T09:46:28.815Z","1.0.17":"2024-10-07T09:16:15.481Z","1.0.18":"2024-10-07T12:38:06.504Z","1.0.19":"2024-10-07T12:42:39.261Z","1.0.20":"2024-10-07T12:50:23.429Z"},"author":{"name":"Demooz"},"license":"MIT","description":"Demooz Story Short","maintainers":[{"name":"demooz","email":"digital@atmospheres.tm.fr"}],"readme":"\n# Demooz Story Short - Package\n\nDisplay one or more Stories on your page\n\n\n\n## Installation\n\nInstall @demooz/story-short with npm\n\n```bash\n  npm i @demooz/story-short\n```\n    \n## Methods\n\n#### init()\n\nAdd our script to the Head of the HTML document.\nReturn a Promise with a boolean (`true` : success to init the script, `false` : failed)\n\n#### addStory(elementParent, key, options)\n\nAdd a Story to display\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `elementParent`      | `HTMLElement` | **Required**. The Story will be insert inside this HTML element |\n| `storyKey`      | `String` | **Required**. The unique Story key give by us  |\n| `options`      | `DemoozStoryShortOptions` | The Story options (see below)  |\n\n`DemoozStoryShortOptions` : Story display options\n\n| Option | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `listStyle`      | `'rectangle' or 'round' or 'square'` | The videos style inside the Story. By default : `'rectangle'` |\n| `listSize`      | `'big' or 'medium' or 'small' or 'very-small'` | The videos size inside the Story. By defaut : `'big'` |\n| `titleSize`      | `String` | The title size of the Story (px, em, rem, ...). By defaut : `'16px'`  |\n| `titleColor`      | `String` | The title color of the Story (Hexa, RGB, ...). By defaut : `'#000000'`  |\n| `videoTitle`      | `'bottom' or 'under' or 'none'` | The position of the video title. By defaut : `'bottom'`  |\n| `videoTitleColor`      | `String` | The color of the video title (Hexa, RGB, ...) Used only for `'under'` title. By defaut : `'#000000'`  |\n| `videoWidth`      | `Number` | The witdh of the video. If empty, the value is calculated by the `listSize` option |\n| `videoHeight`      | `Number` | The height of the video. If empty, the value is calculated by the `listSize` option |\n| `videoRatio`      | `'9/16' or '3/4' or '1'` | The ratio of the video. If empty, the value is calculated by the `listStyle` option or `videoWidth` and `videoHeight` values  |\n\n#### display()\n\nGet the Stories data and display them all.\nReturn a Promise with a boolean (`true` : success to display the Stories, `false` : failed)\n\n#### refreshAll()\n\nGet again the Stories data and redraw all the Stories. Need to be used if you destroy the HTML Element and if you want to redraw the Stories.\nReturn a Promise with a boolean (`true` : success to refresh all Stories, `false` : failed)\n\n#### reDrawAllStoryShortList()\n\nOnly redraw the Stories (if the HTML Element was not destroyed).\nReturn a Promise with a boolean (`true` : success to redraw all Stories, `false` : failed)\n\n#### openStoryShort(storyKey)\n\nOpen the Story modal in fullscreen for the Story Key in parameter\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `storyKey`      | `String` | **Required**. The unique Story key gives by us  |\n\n#### destroy()\n\nRemove all Stories (HTML Elements), close WebSocket and reset variables.\n(But keep script and Class)\nReturn a Promise with a boolean (`true` : success to detroy the Stories, `false` : failed)\n\n\n## Usage/Examples\n\n```html\n<html>\n    <head></head>\n    <body>\n        <div id=\"story_1\"></div>\n        <div id=\"story_2\"></div>\n    </body>\n</html>\n\n```\n\n```javascript\nimport {DemoozStoryShort, DemoozStoryShortOptions} from '@demooz/story-short';\n\n...\n\nlet demoozStoryShort = new DemoozStoryShort();\n\n/* Add script to the Head */\nlet resInit = await demoozStoryShort.init();\n    \nif(resInit){\n\n    /* Add a Story */\n    let div1 = document.getElementById('story_1');\n    let options1 = new DemoozStoryShortOptions();\n    options1.listSize = 'very-small';\n    options1.listStyle = 'round';\n    demoozStoryShort.addStory(div1, 'KEY_STORY_1_XXX', options1);\n\n    /* Add a second Story */\n    let div2 = document.getElementById('story_2');    \n    demoozStoryShort.addStory(div2, 'KEY_STORY_2_XXX');\n\n    /* Display the Stories */\n    demoozStoryShort.display();\n    \n}\n\n...\n\n/* Refresh all Stories */\ndemoozStoryShort.refreshAll();\n\n...\n\n/* Open the Story Modal in fullscreen for the Story 2 */\ndemoozStoryShort.openStoryShort('KEY_STORY_2_XXX');\n\n...\n\n```\n\n\n## Appendix\n\nif necessary, you must authorize the following domains (Content-Security-Policy - CSP)\n\n| Domain | Description     | CSP                       |\n| :-------- | :------- | :-------------------------------- |\n| `https://admin.storyshort.fr`      | For retrieving available videos | `connect-src` |\n| `wss://websocket.storyshort.fr`      | For statistics | `connect-src` |\n| `https://assets.storyshort.fr`      | For loading resources (javascript, css, pictures) | `script-src` `style-src` `img-src` `worker-src` |\n| `https://download-video.akamaized.net`      | For playing videos | `media-src` |\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n","readmeFilename":"README.md"}