Up to date Big List of Naughty Strings
$ npm install --save blns
var blns = require('blns');
// blns will be an array of naughty strings.
MIT © Hemanth.HM
Big List of Naughty Strings.
License: MIT License
Up to date Big List of Naughty Strings
$ npm install --save blns
var blns = require('blns');
// blns will be an array of naughty strings.
MIT © Hemanth.HM
The README says : Up to date Big List of Naughty Strings
It isn't.
If we copy blns.json
from Big List of Naughty Strings's repo or use .gitmodules
or any others, we can keep api more graceful like this:
// index.js
module.exports = require('./blns.json');
var blns = require('blns');
// => [ ... ]
http request will hurts test performance and repo url maybe changed as time goes on. Bumping version for update will be a good choice.
[[
is a bash builtin, and not available on systems where the default shell is /bin/sh
As shown below:
accalia_de_elementia@sockdrawer:~/workspace/SockBot (integration) $ npm install --save-dev blns
/
> [email protected] postinstall /home/ubuntu/workspace/SockBot/node_modules/blns
> [[ -x $(which git) ]] && git submodule update --init --recursive || echo 'You don't have git installed, so can't update the list'
sh: 1: [[: not found
You dont have git installed, so cant update the list
[email protected] node_modules/blns
accalia_de_elementia@sockdrawer:~/workspace/SockBot (integration) $
The postinstall script should not assume a BASH environment.
Hi, we (FiftyThree) recently installed this npm module and we're so glad that we have access to blns! However, some of our environments do not have git
installed. So when we deploy to those environments the installation fails due to post-install
. We have removed that script for now in our repo, but would be good not to assume that installation environments have git
.
Thanks,
Andrew Chan
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.