Display Advertising Utils
💻 Requirements and install
- NodeJS (8 or greater)
npm install -g @alandawi/dau
npm install -g rimraf
⌨️ Usage
dau <command> [option]
Commands
- help: Print help info.
- qa: Search for .zip files in a directory and return the result of banner validation.
- repos: Get the versions of all the repositories inside GitHub Media.Monks DisplayAd.
- deleteModules: Delete all the node_modules folders from a directory (recursive).
- bannerToVideo: Easily export GreenSock (GSAP) animation to video.
- compressImages: Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif.
Options
- --clear: Clear the console.
- --noClear: Don't clear the console.
- --debug: Print debug info.
- --version: Print CLI version.
- --assetType: Type of the asset ('adwords' or 'dcm') to validate.
📚 Examples
Validate the banners from a directory, run the following command:
dau qa --assetType dcm
Get the information about the repositories inside DisplayAd:
dau repos
Find 'node_modules' folders (recursive) inside a directory:
cd myExampleDirectoryWithProjects
dau deleteModules