node-web-extractor

    0.0.4 • Public • Published

    node-web-extractor

    Simple node server for fetching data from external sites

    Usage: Dockerfile

    FROM node:12
    
    # Create app directory
    WORKDIR /usr/src/app
    
    # Install app dependencies
    
    # create package.json
    RUN npm init -f
    
    # Install app dependencies
    RUN npm install cheerio@^1.0.0-rc.3 cookie-parser@~1.4.4 debug@~2.6.9 express@~4.16.1 morgan@~1.9.1 node-web-extractor@^0.0.3
    
    # If you are building your code for production
    RUN npm ci --only=production
    
    # port
    EXPOSE 3000
    
    # run
    CMD [ "node", "./node_modules/node-web-extractor/bin/www" ]
    

    Keywords

    none

    Install

    npm i node-web-extractor

    DownloadsWeekly Downloads

    0

    Version

    0.0.4

    License

    none

    Unpacked Size

    13.5 kB

    Total Files

    13

    Last publish

    Collaborators

    • krocon