@nathanfaucett/foreign_key
v0.0.1
Published
attaches foreign key to string
Downloads
2
Maintainers
Readme
foreignKey
attaches foreign key to string
var foreignKey = require("@nathanfaucett/foreign_key");
// string, key, camelized, lowFirstLetter
var string = foreignKey("string", "id", false, true);
// string === "string_id"
var string = foreignKey("string", "id", true, true);
// string === "stringId"