aboutsummaryrefslogtreecommitdiff
path: root/api/lib/checkIfAllowedIP/index.js
AgeCommit message (Expand)AuthorFilesLines
2025-04-14[api] Removes unnecessary anonymous JS functionskaotisk1-2/+3
2025-03-18[api] exported function checkIfAllowedIPkaotisk1-0/+8
General Public License as published by ### the Free Software Foundation, either version 3 of the License, or ### (at your option) any later version. ### ### This program is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY; without even the implied warranty of ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ### GNU General Public License for more details. ### ### You should have received a copy of the GNU General Public License ### along with this program. If not, see <http://www.gnu.org/licenses/>. ### # # ak-json2bash # # Kaotisk Hund <kaotisk/kaotiskhund> # # Strips " , { } from input and replaces ":" with = # # Usage: # ak-ipfs-cat <hash> | ak-json2bash sed -e 's/{//g; s/}//g; s/:/=/g; s/"//g; s/,//g; s/ //g; s/\[//g; s/]//g'