Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Frank
@frankc60
i'll try and get back to you within 24 hours :smile:
Frank
@frankc60
Travis CI now sending updates here (Gitter)
format seemed to break, couldn't see why, guess was copy&paste issue. Fixed now
Had to set all options to always, for first time anyway. To display in Activity bar to the right --->
frankc60/jStrip@8eaf84f
Frank
@frankc60
added release-patch script to package.json, making for automated releases to npm and git at the same time, frankc60/jStrip@a85c574
Frank
@frankc60
Added link to raise issues, link to github issues. https://github.com/frankc60/jStrip/issues (frankc60/jStrip@5331045)
Frank
@frankc60
the last few git uploads, i've got coveralls working! :+1: show's my mocha tests coverage of 93%
I can add a few more tests to get 100% coverage. TO DO!
Frank
@frankc60
Closed Issue, got coverage to 100% :smile: by adding another test
Frank
@frankc60
I'm working on some improvements - with added functionality, and hope to have it up on NPM within the week
Frank
@frankc60
As mentioned, I am working on improvements (- a lot!) So will be a Major update (2.0.0), and there will be migration steps (i will document at NPM) to keep your current jStrip code working the same, it will be a minimal migration process. Plus you'll get tons of added functionality! :)
Frank
@frankc60
I have applied some updates to github, and you'll see the coverage rate drop, it is working, I just haven't created all the tests yet.. soon to be in NPM!
backwards compatible with minimum changes, I think you'll like version 2.0.0 coming soon!! :+1:
Frank
@frankc60
Version 2.0 has been released to NPM ! :sparkles:
Frank
@frankc60
After a few updates to the Mocha Chai tests, I have 100% coverage again, over 9 Tests! :smile:
I have made lots of little updates to the readme -https://www.npmjs.com/package/jstrip
Frank
@frankc60
released version 2.1.0 (minor), with added jStrip method - removehtml()
allowing any html elements to be removed from the contents
Frank
@frankc60
I added 2 new tests, now coverage is 100% :)
Frank
@frankc60
v.2.20 released, with added features:
  • uppercase()
  • lowercase()
    readme updated and also tests
Frank
@frankc60
v2.3 released, with added features:
  • a "type" property returned with the on() method, telling the datatype: string, url or json
v.2.4 released, with added features:
  • timeout property, which is able to be set per instance. this is the timeout for the http requests (url data type) in .getData()
Frank
@frankc60
v.2.5 released,
  • automatic garbage memory collection, on the cache after it has been used
  • various code tidying
Frank
@frankc60
just released v.2.6,
new features:
jpretty() - let's you display json neatly
I use it when grabbing complex json data online, to help me identify the field/s I need to get
as it will display the data in a dot delimiter layout, eg
{}.menu.data.europe.gbp.eur.rate = 1.20123
so in my on() event handler I can access the json data using this pattern
just remember you need to parse the json first, at it is stringified!
check out the readme section - jpretty() for more info or let me know :)
Frank
@frankc60
just released v2.8
new features:
sort() - sorts a string or array
reverse() - reverse orders an array or string
the coveralls has dropped a few % as I'm still adding new tests (about 8 in total!), i'm working on them, ready shortly! :+1:
Frank
@frankc60
got coverage up to 98%
I have taken out the option to sort() or reverse() strings, as this is causing too much memory usage, as I have to turn it into an array first, and if that is a large webpage, it hits performance too hard. Therefore I have removed the string option for these methods, until I can find another way round, Readme has been documented.
Frank
@frankc60
got coverage back up to 100% :+1:
added 4 new tests, to cover updates to reverse() and sort(), it now accepts string/url (again)
but the string limit is set to 100 chars, as it just kills the machine when trying to convert a string webpage, like 40,000 chars
if these methods are popular I will look at trying to optimise this more :)
Frank
@frankc60
coveralls increased by 0.005% :) at 100%
Frank
@frankc60
0.003% increase,, that's because i'm moving some of the functions in the main file to new files, so more lines
Frank
@frankc60
released version 2.9
new features:
add() - allows addition of numbers
minus() - allows subtraction of numbers
ksnyd
@ksnyd
Frank, I have a question about jstrip v2.9.1, can I email you about it?
Frank
@frankc60
hey :+1: sure, drop me a line at frankc60@gmail.com
Frank
@frankc60
I had a problem with the readme not displaying, and looking at issues, seems it was on npm's end with other people reporting the same issue. It is now back!
Frank
@frankc60
@ksnyd i hope you got your code working as you wanted