Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Linux | OS X | Windows |
---|---|---|
var nsfw = require('nsfw');
var watcherOne = new nsfw(
'dir1',
function(events) {
// handle events
},
function(error) {
// handle errors
}
);
var watcherTwo = new nsfw(
'dir2',
function(events) {
// handles other events
},
function(error) {
// handle errors
},
5000
); // every 5 seconds
An array of events as they have happened in a directory, it's children, or to a file.
[
{
"action": "CHANGED",
"directory": "/home/nsfw/watchDir",
"file": "file1.ext"
},
{
"action": "CREATED",
"directory": "/home/nsfw/watchDir",
"file": "folder"
},
{
"action": "DELETED",
"directory": "home/nsfw/watchDir/testFolder",
"file": "test.ext"
},
{
"action": "RENAMED",
"directory": "home/nsfw/watchDir",
"oldFile": "oldname.ext",
"newFile": "newname.ext"
}
]
FAQs
A simple file watcher for Node
The npm package nsfw receives a total of 6,408 weekly downloads. As such, nsfw popularity was classified as popular.
We found that nsfw demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.