{"_id":"@a-morphous/recital-ext-common-commands","_rev":"1-61fea432e358047ee186de4c8a92c3ca","name":"@a-morphous/recital-ext-common-commands","dist-tags":{"latest":"1.1.3"},"versions":{"1.1.2":{"name":"@a-morphous/recital-ext-common-commands","version":"1.1.2","author":{"name":"Amorphous"},"license":"MPL 2.0","_id":"@a-morphous/recital-ext-common-commands@1.1.2","maintainers":[{"name":"amorphous","email":"84998015+a-morphous@users.noreply.github.com"}],"homepage":"https://github.com/a-morphous/recital#readme","bugs":{"url":"https://github.com/a-morphous/recital/issues"},"dist":{"shasum":"903d6fed5b12c1c1d0b346819027d00486691b1b","tarball":"https://registry.npmjs.org/@a-morphous/recital-ext-common-commands/-/recital-ext-common-commands-1.1.2.tgz","fileCount":42,"integrity":"sha512-SNLWmXYeMkThaNYB9YBqpcsKJU47QcadlSjTKhYvYl2dSjtDaCseGfGML4iTh08N6xk/AU4SHxPdFGDmJKiIGg==","signatures":[{"sig":"MEUCICmxowquyRkHl1cESYqtRxj9upX6ZWGF9UjaWcGGIlkpAiEAxxeHlm2ec2v2vsoZqLD+f6e99jSO/c/3D5vbPl6VHsg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":90772},"main":"dist/common-commands-ext.js","_from":"file:a-morphous-recital-ext-common-commands-1.1.2.tgz","types":"dist/types/index.d.ts","module":"dist/common-commands-est.mjs","scripts":{"pub":"pnpm publish --access public","test":"test test/*.js","build":"tsc --module commonjs && node ./esbuild.js","start":"node ./esbuild.js","dryRun":"pnpm publish --dry-run"},"_npmUser":{"name":"amorphous","email":"84998015+a-morphous@users.noreply.github.com"},"_resolved":"/private/var/folders/pd/2r2pf8ln2cv61g2b_k9fr5nc0000gn/T/f6074b45244f9e0ff0e7972201dfe6e4/a-morphous-recital-ext-common-commands-1.1.2.tgz","_integrity":"sha512-SNLWmXYeMkThaNYB9YBqpcsKJU47QcadlSjTKhYvYl2dSjtDaCseGfGML4iTh08N6xk/AU4SHxPdFGDmJKiIGg==","repository":{"url":"git+https://github.com/a-morphous/recital.git","type":"git"},"_npmVersion":"10.2.3","description":"Provides a set of tools that are useful when used alongside `stage-parser`.","directories":{},"_nodeVersion":"20.10.0","dependencies":{"eol":"^0.9.1"},"_hasShrinkwrap":false,"devDependencies":{"glob":"^7.1.6","esbuild":"^0.11.8","typescript":"^4.2.4","@types/node":"^14.14.37","@a-morphous/test":"^1.0.0","@a-morphous/recital":"^1.1.0"},"peerDependencies":{"@a-morphous/recital":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/recital-ext-common-commands_1.1.2_1728206530634_0.8580941225570733","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@a-morphous/recital-ext-common-commands","version":"1.1.3","description":"Provides a set of tools that are useful when used alongside `stage-parser`.","main":"dist/common-commands-ext.js","module":"dist/common-commands-ext.mjs","types":"dist/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/a-morphous/recital.git"},"author":{"name":"Amorphous"},"license":"MPL 2.0","devDependencies":{"@a-morphous/recital":"^1.1.0","@a-morphous/test":"^1.0.0","@types/node":"^14.14.37","esbuild":"^0.11.8","glob":"^7.1.6","typescript":"^4.2.4"},"peerDependencies":{"@a-morphous/recital":"^1.1.0"},"dependencies":{"eol":"^0.9.1"},"scripts":{"start":"node ./esbuild.js","build":"tsc --module commonjs && node ./esbuild.js","test":"test test/*.js","dryRun":"pnpm publish --dry-run","pub":"pnpm publish --access public"},"bugs":{"url":"https://github.com/a-morphous/recital/issues"},"homepage":"https://github.com/a-morphous/recital#readme","_id":"@a-morphous/recital-ext-common-commands@1.1.3","_integrity":"sha512-mRhwxktwTc7TOm1WvRLgk4xg614mQjHle+X24DLZwLeleIhP7bXSJlDya41UQ/prbG25BQctNTIgSsy2nRztwg==","_resolved":"/private/var/folders/pd/2r2pf8ln2cv61g2b_k9fr5nc0000gn/T/329266171616d2ea6bdfb8988e316c00/a-morphous-recital-ext-common-commands-1.1.3.tgz","_from":"file:a-morphous-recital-ext-common-commands-1.1.3.tgz","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-mRhwxktwTc7TOm1WvRLgk4xg614mQjHle+X24DLZwLeleIhP7bXSJlDya41UQ/prbG25BQctNTIgSsy2nRztwg==","shasum":"8d272cf6e2c8d4319f6909a4ef865e92939bc0cf","tarball":"https://registry.npmjs.org/@a-morphous/recital-ext-common-commands/-/recital-ext-common-commands-1.1.3.tgz","fileCount":43,"unpackedSize":90843,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJUJSkq5H8NwYbQj8cw5ihBal/v2zAlqqsZg9D715uBAiEA5Zs0QijBE/GYQLT97AHQ2yjTwV2NvVnhQfzxKhTOGww="}]},"_npmUser":{"name":"amorphous","email":"84998015+a-morphous@users.noreply.github.com"},"directories":{},"maintainers":[{"name":"amorphous","email":"84998015+a-morphous@users.noreply.github.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/recital-ext-common-commands_1.1.3_1729322896292_0.1379141790308247"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-06T09:22:10.528Z","modified":"2024-10-19T07:28:16.670Z","1.1.2":"2024-10-06T09:22:10.816Z","1.1.3":"2024-10-19T07:28:16.492Z"},"bugs":{"url":"https://github.com/a-morphous/recital/issues"},"author":{"name":"Amorphous"},"license":"MPL 2.0","homepage":"https://github.com/a-morphous/recital#readme","repository":{"type":"git","url":"git+https://github.com/a-morphous/recital.git"},"description":"Provides a set of tools that are useful when used alongside `stage-parser`.","maintainers":[{"name":"amorphous","email":"84998015+a-morphous@users.noreply.github.com"}],"readme":"# Common Commands Extension\n\nProvides a set of tools that are useful when used alongside `stage-parser`.\n\nMost of the tools operate on the `FlatObject[]` array that is generated by `stage-parser`'s `genFlattenedObject` function. \n\n## List of Tools\n\n### convertWikiLinkToMd\n\nConverts all the wiki links in a .stage file into valid Markdown links.\n\nWiki links have the format `[[link]]`, and can also have an arrow to have text separate from the destination, e.g. `[[This is the displayed text->destination]]`. This format is inspired directly from [Chapbook's](https://klembot.github.io/chapbook/guide/text-and-links/simple-links.html) simple link format.\n\n### resolveIncludes\n\nParses a recital file for the `$include` tag, which link to a separate `.stage` file whose contents are inserted at the location of the original `$include` command.\n\nThe include command's usage is:\n```\n$include <file to include> <raw?: boolean>\n```\n'raw' determines whether we process the included stage file for more includes, or just leave the text unprocessed.","readmeFilename":"README.md"}