Comments (6)
Hi, I wrapped part of this code in an ad-hoc library that I would be glad to publicly release on NPM (and give you the appropriate credit obviously).
The only thing blocking me right now is this license problem.
Can I help in any way? Would like me to open a PR with the MIT license used on the other TwilioDevEd repositories?
from message-segment-calculator.
Hi again,
I created the following PR: #6 in an attempt to make the maintainers' life easier. @vernig feel free to merge or close it depending on Twilio's position here.
Thanks 🙏
from message-segment-calculator.
@HugoCrd and @BryceStevenWilley, thanks for your interest in this repo and the functionality provided. Out of curiosity, would you be interested in a package that provide the same functionality to be integrated in script / server side? The idea is to convert this into a npm package, and I'm wondering if there is any interest in this?
from message-segment-calculator.
Hi @vernig, thanks for merging #6!
To answer your question, yes we would definitely be interested in that.
We actually did it internally and published a first tool here: https://www.npmjs.com/package/@setkeeper/text-message-utils
If you plan to work on something on your side, I would definitely consider moving to your tool and remove ours from NPM as I'm sure you would have more resources to put into it.
from message-segment-calculator.
Hey @HugoCrd that package is pretty good already. I see you are re-using the segment-calculator.js
already. My idea was to move all the core of this tool into a package as you did and make it available over CDN. I'll raise a new issue in this repo, so I'll add it to my TODO list
from message-segment-calculator.
Created #7 to track this enhancement
from message-segment-calculator.
Related Issues (16)
- Add Twilio smart encoding HOT 2
- Missing 's' in sample usage HOT 2
- Demo page disagrees with library on message segment count. HOT 3
- Dockerfile/Ability to run this in a pipeline HOT 4
- Does not handle combining characters correctly HOT 3
- Incorrect segment counting HOT 4
- SQL version of this calculator HOT 1
- Add checkbox for US Cellular special case
- Support Segment Calculation for MMS HOT 3
- UCS-2 Highlighing isn't reflecting these characters correctly HOT 1
- Can't force encoding to "UCS-2" HOT 1
- Incorrect segment counting HOT 3
- Calculator says encoding is UCS-2, but it looks like UTF-16? HOT 4
- Create a library for the segment calculator HOT 2
- Add method to return which character(s) require UCS-2 encoding HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from message-segment-calculator.