UNPKG

flash-store

Version:

FlashStore is a Key-Value persistent storage with easy to use ES6 Map-like API(both Async and Sync support), powered by LevelDB and TypeScript.

16 lines 1.04 kB
#!/usr/bin/env ts-node var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; import { test } from 'tstest'; import { VERSION } from './version'; test('Make sure the VERSION is fresh in source code', (t) => __awaiter(void 0, void 0, void 0, function* () { t.equal(VERSION, '0.0.0', 'version should be 0.0.0 in source code, only updated before publish to NPM'); })); //# sourceMappingURL=version.spec.js.map