Join Slack
Powered by
Is there a way/module to generate dummy graphcool ...
# prisma-whats-new
d
derbingle
06/16/2017, 5:26 PM
Is there a way/module to generate dummy graphcool ids? Just throwing together mock data for design purposes in React Native. I know it doesnโt
really
matter, but for my own mental understanding/OCD I want the ids to look like the real thing. ๐
n
nilan
06/16/2017, 5:29 PM
@derbingle
we use `cuid-java`:
https://github.com/graphcool/cuid-java
you can use the original
cuid
npm module ๐
d
derbingle
06/16/2017, 5:30 PM
Awesome, thanks
@nilan
!
๐ 1
a
agartha
06/16/2017, 7:16 PM
And if you want to generate names like
graphcool
, they use
https://www.npmjs.com/package/sillyname
๐
Open in Slack
Previous
Next