
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@tmugo/amp-filter
Advanced tools
Install NodeJS and npm. http://nodejs.org/
Install gulp
globally:
$ sudo npm install -g gulp
Install all of the package.json dependencies locally. Run this command from inside this folder.
$ npm install
Call npm install
after each pull to make sure latest build plugins are there.
$ npm install
When adding new dev/build dependencies, use the --save-dev
option for npm so that they are added to package.json
, so that other developers can keep up to date. Make sure to commit the updated package.json
to version control when you commit.
$ npm install jshint --save-dev
All commands are automated with gulp, and configured in gulpfile.js.
$ gulp lint
Javascript sources will also be linted when running gulp dev
, check the terminal logs for issues.
Please always lint your code :)
Compiled versions for testing and distribution are in dist/
. The amp-filter.js version in dist
is uglified. Under src/compiled-js/amp-filter.js you can find the original, more readable, version
$ gulp build
The older way of handling amp-filters (before gulp was introduced) is still available.
Broserify must be installed and on the $PATH
:
$ browserify src/main.js -t brfs -s ampFilter -o dist/amp-filter.js
$ uglifyjs ./dist/amp-filter.js > ./dist/amp-filter.min.js
You can also use watchify with the same arguments, for development:
$ watchify src/main.js -t brfs -s ampFilter -o dist/amp-filter.js
The lessc compiler must be installed and on the $PATH
:
$ sudo npm install -g less
$ lessc src/less/amp-filters.less > dist/amp-filter.css
straight-forward:
$ rm -r dist/img && cp -r src/img dist/img
FAQs
Filters to be used across many AMP modules (gis, etc)
The npm package @tmugo/amp-filter receives a total of 0 weekly downloads. As such, @tmugo/amp-filter popularity was classified as not popular.
We found that @tmugo/amp-filter 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.