Deprecate the 'ini' module
authorRyan Dahl <ry@tinyclouds.org>
Sat, 29 May 2010 20:14:38 +0000 (13:14 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Sat, 29 May 2010 20:14:38 +0000 (13:14 -0700)
lib/ini.js

index ad309b719a078cd89c1e5033011243355a915394..b942082cba8ab1c8a23c0abc8f0beb9d861d14f3 100644 (file)
@@ -1,3 +1,7 @@
+var sys = require('sys');
+
+sys.error('The "ini" module will be removed in future versions of Node, please extract it into your own code.');
+
 // TODO:
 // 1. Handle quoted strings, including line breaks, so that this:
 //    foo = "bar