![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Wraps one html file in another html file. Like an html pig in a html blanket.
A lightweight command line utility to wrap html files in a common layout.
npm install wrap-html
Use the cli by passing in a directory of html files to process. Optionally pass in an output directory, and a template to use.
Recommended to use with npm scripts like so:
"scripts": {
"wrap-html": "wrap-html sourceDir -o buildDir -t templateFile.html"
}
Then you can use npm run wrap-html
to build everything.
Wraps html in another html file.
Usage: wrap-html [source dir] [options]
Options:
-o, --output Output directory
-t, --template template html file
-d, --debug log all files built
-h, --help Show help
Examples:
wrap-html source -t template.html -o wrap all files in ./source inside
build template.html and save them in
the build folder
The template html file (the one that will be wrapped around all of the other files) needs to have {{ content }}
in the file. For example, to wrap all the html files in a basic html skeleton, you could use:
<!DOCTYPE html>
<head>
<title>Layers</title>
</head>
<body>
{{ content }}
</body>
</html>
** Note: the layout is assumed to be inside your source directory. **
option | default |
---|---|
source | 'source' |
output | 'build' |
template | 'layout.html' |
debug | false |
FAQs
Wraps one html file in another html file. Like an html pig in a html blanket.
The npm package wrap-html receives a total of 1 weekly downloads. As such, wrap-html popularity was classified as not popular.
We found that wrap-html 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.