
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
appmanifest
Advanced tools
Validate web app manifest (http://w3c.github.io/manifest)
* Tries to follow the Spec as it is (as much as possible)
Try it online -
https://boopathi.in/appmanifest/
This project is still under active development. Ideas and contributions welcome :)
npm install appmanifest
// result is the processed manifest object
var result = manifestParser({
manifest: "<manifest json string>",
manifestUrl: "https://example.com/manifest.json", // this is required to validate some urls
documentUrl: "https://example.com/" // this is also required to validate some urls
logger: function() { return { warn() {}, error(){}, log(){} } } // optional
});
If you don't want to pass manifestUrl and documentUrl, just use example.com
urls as mentioned above.
You can pass your custom logger and capture all errors and warnings to compile and display later. The signature of the logger function is this.
function Logger (name /* name of the param currently validated */) {
return {
warn(message) {
// do your stuff
},
error (message) {
// do your stuff
},
log (message) {
// do your stuff
}
}
}
const parse = require('appmanifest').manifestParser;
npm run dist
The library when obtained as a built bundle, exports UMD with ManifestParser
as the name.
Note:
If you're using the cdn URL, you need to use ManifestParser.default({})
;
Spec: http://w3c.github.io/manifest/#processing
This helps in identifying possible mistakes in your manifest.json file in the following fields.
* The unchecked ones are not yet implemented
Spec: http://w3c.github.io/manifest/#installability-signals
This tool is to identify from a URL, warnings about some of your app installability signals - to make it more installable - Does it even mean anything? Yes. It's a thing now. Live with it.
name
and a suitable icon* The unchecked ones are not yet implemented
Note: There are a few others that cannot be checked with this tool. Feel free to visit the link mentioned above to help making your manifests better and give the browser possible installability signals.
Contributions and ideas are always welcome. Create an issue to discuss.
MIT License - http://boopathi.mit-license.org/
FAQs
Validate web app manifest (http://w3c.github.io/manifest)
The npm package appmanifest receives a total of 2 weekly downloads. As such, appmanifest popularity was classified as not popular.
We found that appmanifest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.