home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commonjs.require (192B)


      1 # -*- mode: snippet; require-final-newline: nil -*-
      2 # name: commonjs.require
      3 # key: req
      4 # --
      5 var ${3:${1:$(s-lower-camel-case (file-name-nondirectory yas/text))}} = require("${1:module}")$2;$0