
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@s-ui/amp-runner
Advanced tools
Using aws lambdas function we can provide an AMP versión of any page
Clone the repo and inside packages/serverless
run $ npm install
To start to develop run npm start
that will put a server listen in at the port 3000 by default o any port setting in the process.env.PORT
variable.
The server will response to GET request with the format:
http://localhost:3000/amp/[URL_CANONICAL_ORIGINAL]?package=[AMP_PACKAGE_TEMPLATE]&organization=[ORG_AMP_PACKAGE_TEMPLATE]&version=[VERSION]
Url example:
http://localhost:3000/amp/https://www.fotocasa.es/vivienda/malaga-capital/parking-terraza-trastero-zona-comunitaria-piscina-panorama-142784244?package=amp-generator-alpha-basic&organization=schibstedspain&version=beta
Version is the uniq param dont require, and by default we will search for the latest
version.
To deploy this package you must have install globally the up package.
To deploy to staging: $up deploy
to deploy to production: up deploy production
More up command in the up documentation
### AMP parser pacakges
Is regular npm packages, with two files in the root of the project.
FAQs
Using aws lambdas function we can provide an AMP versión of any page
The npm package @s-ui/amp-runner receives a total of 2 weekly downloads. As such, @s-ui/amp-runner popularity was classified as not popular.
We found that @s-ui/amp-runner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.