Closed cs4n closed 3 years ago
hey hey! When you do offline, how are you doing it?
This will help me help you :)
Hey :) Sorry for lack of the proper description :) Yesterday donwloaded the code package from git. Unzipped then copied to the project.
And now is the moment i totally confused :D Yesterday the unzipped folder didn't contain the dist filder (in win folder), whilst now the opened project(visual studio) contains but set exclude from the project (partially ok). One thing i still can't find is the mentioned nsfwjs.min.js file.
Thanks your help in advance, and sorry for the "newby" issues :)
So this project is using Typescript. Typescript is not naturally readable by most systems, so there's a typescipt compile step where the source is compiled to a /dist
folder.
When grabbing this code from source, you'll need to compile a nsfwjs.min.js
or you can access the one that has been compiled and sent off to NPM or other CDNs.
What is the structure of your project?
Unfortunately we are not using typescript, i think i wont be able to compile it, regarding to our system limits. Project structure is C# MVC. Can you advice a save place to donwload it from, any CDN or NPM you mentioned?
You can get the file from https://unpkg.com/nsfwjs@2.3.0 which is the CDN.
Awesome thanks (and for your patinece too :) )!
No problem! I would love to hear how it all works out.
The only thing was to understand that the response array changing by the values and percentages. Over this, i already implemented it, and working like a charm! :)
Hi
I'm trying to POC and make some demo offline. First thing i can't find is the dist folder, 100% i missed something :)
Thanks your help in advance!