Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4e9874a639 | |||
e55e30bdb3 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartfile",
|
"name": "smartfile",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"description": "offers smart ways to work with files in nodejs",
|
"description": "offers smart ways to work with files in nodejs",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
3
test.js
3
test.js
@ -1,2 +1,3 @@
|
|||||||
var smartfile = require("./index.js");
|
var smartfile = require("./index.js");
|
||||||
console.log(smartfile.readFileToString("./test/mytest.txt"));
|
var pr = require("pushrocks");
|
||||||
|
pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt"));
|
||||||
|
@ -1 +1 @@
|
|||||||
This is some test text. If this is displayed when running "npm test", then the test has succeeded.
|
This is some test text stored in ./test/mytest.txt -> If this is displayed when running "npm test", then the test has succeeded.
|
@ -1,2 +1,3 @@
|
|||||||
var smartfile = require("./index.js");
|
var smartfile = require("./index.js");
|
||||||
console.log(smartfile.readFileToString("./test/mytest.txt"));
|
var pr = require("pushrocks")
|
||||||
|
pr.beautylog.info(smartfile.readFileToString("./test/mytest.txt"));
|
Reference in New Issue
Block a user