example
Skip to content
J & L Shopping Store
+123-456-789
Contact+123-456-789
New Offer Zone
Toggle Menu All Categories
  • General Products
  • Groceries
  • Beauty
  • Health
  • Home
  • Shop
  • CategoriesExpand
    • Groceries
    • Beauty
    • Health
  • About us
  • Contact us
J & L Shopping Store
Account

Shop

No products were found matching your selection.
Shop By Categories

    Contact Info

    3058789110

    3058789110

    B.loj@outlook.com

    Quick link

    • Home
    • About Us
    • Shop
    • Contact Us

    Categories

    • General Products
    • Groceries
    • Beauty
    • Health

    Return policy

    • Privacy& policy
    • FAQ

    Sign up for newsletter

    Facebook Twitter Instagram YouTube

    ALL RIGHTS RESERVED © 2023 J&L.COM

    Lost your password?


    Don't have an account yet? Sign up

    Review Cart

    No products in the cart.

    Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
    • Image
    • SKU
    • Rating
    • Price
    • Stock
    • Availability
    • Add to cart
    • Description
    • Content
    • Weight
    • Dimensions
    • Additional information
    Click outside to hide the comparison bar
    Compare
    Scroll to top
    • Home
    • Shop
    • Categories
      • Groceries
      • Beauty
      • Health
    • About us
    • Contact us
    • General Products
    • Groceries
    • Beauty
    • Health
    Search
    // generate.js #!/usr/bin/node const commandLineArgs = require('command-line-args') const commandLineUsage = require('command-line-usage') const version = require('./package.json').version const optionDefinitions = [ { name: 'width', alias: 'w', type: Number, defaultValue: 640, description: 'Width of the image. Default: 640' }, { name: 'height', alias: 'h', type: Number, defaultValue: 480, description: 'Height of the image. Default: 480' }, { name: 'red', alias: 'r', type: Number, defaultValue: 255, description: 'Red part, 0-255. Default: 255' }, { name: 'green', alias: 'g', type: Number, defaultValue: 255, description: 'Green part, 0-255. Default: 255' }, { name: 'blue', alias: 'b', type: Number, defaultValue: 255, description: 'Blue part, 0-255. Default: 255' }, { name: 'text', alias: 't', type: String, defaultValue: 'Lorem ipsum', description: 'Text to put on image. Default: "Lorem ipsum"' }, { name: 'font', alias: 'f', type: String, defaultValue: 'sans-serif', description: 'Font the text will be rendered in. Default: "sans-serif"' }, { name: 'output', alias: 'o', type: String, defaultValue: './image.png', description: 'Path of the image. Default: "./image.png"' }, { name: 'help', type: Boolean, defaultValue: false, description: 'Prints this help' }, { name: 'version', alias: 'v', type: Boolean, defaultValue: false, description: 'Prints the version' }, ] const options = commandLineArgs(optionDefinitions) if (options.version) { console.log(version) return } if (options.help) { const sections = [ { header: 'Placeholder image generator', content: 'Create placeholder images with a single line of bash!' }, { header: 'Arguments', optionList: optionDefinitions }, { header: 'Example', content: './generate.js -w 100 -h 100 -r 0 -g 0 -b 255 -t "Hello, World!" -f Helvetica -o ./placeholder.png' } ] const usage = commandLineUsage(sections) console.log(usage) return }