ref2 The same ref module without warnings and packed together with ref-array & ref-struct. npm install ref2 Usage ref const ref = require('ref2'); ref-array ref.ArrayType(...) ref-struct ref.StructType({...})