The Open Vulnerability Project's vuln CLI can be used to create an offline copy of the data obtained from the NVD API.