@simplej/spry-manifest

0.0.5 • Public • Published

spry-manifest

Utilities for creating and using Spry app manifest files.

Install

npm install @simplej/spry-manifest

API

createManifest(root: string) -> Promise<Manifest>

Takes project root path and resolves a manifest object for the project.

hydrateManifest(root: string, manifest: Manifest) -> HydratedManifest

Takes a project root path and a manifest object and returns a hydrated manifest with absolute file paths and loaded modules.

manifestToOptions(manifest: HydratedManifest) -> SpryOptions

Takes a hydrated manifest and returns an options object that can be passed to a Spry constructor.

Readme

Keywords

none

Package Sidebar

Install

npm i @simplej/spry-manifest

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

3.56 kB

Total Files

7

Last publish

Collaborators

  • simplej