UNPKG

graphql-paper

Version:

A flexible in-memory store based on a GraphQL Schema

10 lines (8 loc) 257 B
'use strict'; var ShortUniqueId = require('short-unique-id'); const uid = new ShortUniqueId({ length: 8 }); const generateDocumentKey = () => uid.rnd(); exports.generateDocumentKey = generateDocumentKey; //# sourceMappingURL=generate-document-key.js.map