A simple NodeJS App debugging example in VS Code using Nodemon.
Note: Feel free to customize .vscode/launch.json and ./nodemon.json files.
yarn add nodemon --dev| //: Playground - noun: a place where people can play | |
| import UIKit | |
| import PlaygroundSupport | |
| class ViewController:UIViewController{ | |
| lazy var webView: UIWebView = UIWebView(frame: self.view.bounds) | |
| override func viewDidLoad() { |
| "use strict"; | |
| const request = require("request"); | |
| const dv = require("dv"); | |
| const async = require("async"); | |
| const fs = require("fs"); | |
| const cheerio = require("cheerio"); | |
| const CAPTCHA_URL = "https://cel.reniec.gob.pe/valreg/codigo.do"; | |
| const DATA_URL = "https://cel.reniec.gob.pe/valreg/valreg.do"; |
| /*************************************************************/ | |
| // NumeroALetras | |
| // The MIT License (MIT) | |
| // | |
| // Copyright (c) 2015 Luis Alfredo Chee | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy | |
| // of this software and associated documentation files (the "Software"), to deal | |
| // in the Software without restriction, including without limitation the rights |