req-uscis-status
Module to get US Citizenship and Immigration Services (USCIS) case status from the USCIS Case Status Online web page given a USCIS Receipt Number.
This is simply a screen scrape from the USCIS case status website after posting a USCIS Receipt Number. This module and the support of it is not in any way affiliated with USCIS. Any changes that they make to the case status web site could and likely would impact this module.
There is just one exposed function with this module : getStatus(receiptNumber, callback)
. The callback is called with an error, if any, and the result. The result is one object :
var statusObj = errHtml: undefined // error, if any, on the uscis page after posting receipt number statusShortHtml: undefined statusShortText: undefined statusLongHtml: undefined statusLongText: undefined ;
Each of the 5 properties in the status object returned are 'cleaned' of return lines, new line breaks, tabs and duplicate spaces.
Install with npm install req-uscis-status
.
Examples
var rus = ; rus;